Formulating an LP problem (Mathematics/Engineering)

  • Thread starter Thread starter bobbo7410
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around the formulation of linear programming (LP) constraints, focusing on whether variables must be isolated on one side of the inequality or equation. Participants are exploring the general principles governing LP constraints and their structure.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants are questioning the necessity of isolating variables on one side of the constraint. They discuss examples of constraints and whether having variables on both sides is acceptable.

Discussion Status

The discussion is ongoing, with participants providing insights and clarifications regarding the formulation of constraints. Some guidance has been offered about the implications of having variables on both sides, and there is an acknowledgment of differing practices in constraint formulation.

Contextual Notes

There is mention of a test where constraints were set equal to zero and variables isolated, raising concerns about potential grading implications for not following this format. Participants are reflecting on their understanding of standard practices in linear programming.

bobbo7410
Messages
36
Reaction score
0

Homework Statement



I don't exactly have a specific example, I'm looking for the general idea behind LP constraints.

Homework Equations



Within the constraints, do the variables have to be all to one side?

For instance, X1 + 2 > 3 is a standard constraint

would for example

X1 + 2 > X1 + 1

still be acceptable as a constraint?
 
Physics news on Phys.org
bobbo7410 said:

Homework Statement



I don't exactly have a specific example, I'm looking for the general idea behind LP constraints.

Homework Equations



Within the constraints, do the variables have to be all to one side?

For instance, X1 + 2 > 3 is a standard constraint
This would normally be written as x1 > 1. Did you mean x1 + 2x2 > 3?
bobbo7410 said:
would for example

X1 + 2 > X1 + 1

still be acceptable as a constraint?
No. This is equivalent to 2 > 1, which is always true, so doesn't constrain things in any way. Did you mean x1 + 2 > x2 + 1?

That could be written as x1 - x2 > -1
 
I'm sorry, it was late and my examples are horrible. They do not confine to standard constraints, they were simply just numbers to illustrate.

The basic question is, can you have variables on both sides of a constraint? Or must the variables be confined to one side?
 
You can always move variables from one side of an equation/inequality to the other.
 
Mark44 said:
You can always move variables from one side of an equation/inequality to the other.

Yes I understand that, my question is, must I?

I recently took a test, and after looking through the examples, they set the constraints equal to 0 and isolated all the variables to one side. I left the constraints with variables on both sides. Not sure if I would get points off for doing so...
 
To use matrix methods (e.g., Simplex tableau), you need to have all the variables on one side, and the constant on the other. I'm pretty sure this is correct, although I haven't done one of these problems for a good long while.
 
Mark44 said:
To use matrix methods (e.g., Simplex tableau), you need to have all the variables on one side, and the constant on the other. I'm pretty sure this is correct, although I haven't done one of these problems for a good long while.

Gotcha yeah, that makes sense. I suppose it wouldn't be completely incorrect, yet not properly done. Anyway I'll find out soon enough.

Thanks for your help!
 

Similar threads

Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
10
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K