Or1 4 LP2
Or1 4 LP2
LINEAR PROGRAMMING
intersect (feasible corner points). Note: if only one optimal solution exists - then it must
be a corner point. If more than one optimal solution exists - then at least 2 optimal
solutions must be on two adjacent corner points, and the other solutions will be on the
boundary connecting these 2 points.
Two methods can be used to search for the optimal solution:
a) You can enumerate all the corner points, and get their Z-value.
b) Use isoprofit (or isocost) lines. An isoprofit line is a line where all the
points in it have the same objective function (z) value. Isocost line is the
term when we are minimizing.
The dashed lines in the graph denote the
X2
isoprofit lines for this problem. If you 40
compute the z-value of each line, you will
notice that the profit increases as you go to 30
the right. 20
This implies that the optimal (or best) 15
solution lies in the intersection of constraints 10
#2 (x1 + 3x2 < 45) and #3 (x1 < 12). This X1
intersection is computed as: (12, 11). 10 20 30 40 45
Therefore z = 300(12) + 250(11) = 6350. x1 + 3x2 < 45
x1 < 12 2x1 + x2 < 40
1. Prepare a graph for each constraint that shows the solutions that satisfy the
constraint.
2. Determine the feasible region by identifying the solutions that satisfy all the
constraints simultaneously.
3. Draw an objective function line showing the values of the decision variables that
yield a specified value of the objective function.
4. Move parallel objective function lines toward larger objective function values
until further movement would take the line completely outside the feasible region.
5. Any feasible solution on the objective function line with the largest value is an
optimal solution.
Blending Problem X2
1. Prepare a graph for each constraint that shows the solutions that satisfy the
constraint.
2. Determine the feasible region by identifying the solutions that satisfy all the
constraints simultaneously.
3. Draw an objective function line showing the values of the decision variables that
yield a specified value of the objective function.
4. Move parallel objective function lines toward smaller objective function values
until further movement would take the line completely outside the feasible region.
5. Any feasible solution on the objective function line with the smallest value is an
optimal solution.
X2
x1 < 12
40
30
20
10
X1
10 20 30 40 50
x1 + 3x2 < 45
Z = 7500
2x1 + x2 < 40
IE 214: INTRODUCTION TO OPERATIONS RESEARCH
LINEAR PROGRAMMING
X2
3x1 ≥ 250
400
300
200
100
X1
100 200 300 400
Case 1.
Maximize Z = 3x1 + 2x2
s.t. 6x1 + 4x2 < 24
x1 + x2 < 5
x 1, x 2 > 0
X2
1
X1
1 2 3 4 5 x1 + x2 < 5
6x1 + 4x2 < 24
When the optimal objective function line coincides with one of the binding
constraint lines, it can lead to alternative optimal solutions, whereby more
than one solution provides the optimal value for the objective function.
Case 2.
Maximize Z = 3x1 + 2x2
s.t. 6x1 + 4x2 < 24
x1 + x2 < 5
x1 > 3
x2 > 2
x 1, x 2 > 0
X2
5 x1 > 3
3
x2 > 2
2
X1
1 2 3 4 5 x1 + x2 < 5
Case 3.
Maximize Z = 2x1 – x2
s.t. x1 – x2 < 1
2x1 + x2 > 6
x 1, x 2 > 0
X2
6
4 x1 – x2 < 1
0 X1
–1 1 2 3 4 5
2x1 + x2 > 6