Or1 HW
Or1 HW
Or1 HW
Classify each of the following according to whether it: has a unique optimal solution, has multiple optimal
solutions, is infeasible, or is unbounded.
Maximize z = x1 + x2
S.t. x1 + x2 ≤ 4
x1 - x2 ≥ 5
x1,x2 ≥ 0
Infeasible
Maximize z = 4x1 + x2
S.t. 8x1 + 2x2 ≤ 16
5x1 + 2x2 ≤ 12
x1,x2 ≥ 0
Feasible (multiple solution)
S.t. x1 + x2 ≤ 6
x1 - x2 ≥ 0
x1 - x2 ≥ 3
x1,x2 ≥ 0
Optimal solution is found in extreme point (6,0) where z = 6. Constraints that are binding here are
x1 + x2 ≤ 6 and x1 - x2 ≥ 3.
Maximize z = x1
S.t. -x1 + x2 ≤ 2
x1 + x2 ≤ 8
-x1 + x2 ≥ -4
x1,x2 ≥ 0
Optimal solution is found in (6,2) where z = 6. Constraints that are binding here are x1+ x2 ≤ 8
- x1+ x2 ≥ -4.
Problem 5
For the following LPs, show how the basic feasible solutions to the LP in standard form correspond to the
extreme points of the feasible region.
Max z = = 3 x1 + 5 x2
Subject to
2x1 + x2 ≤ 100
x1 + x2 ≤ 80
x1 ≤ 40
x1 ≥ 0
x2 ≥ 0
Problem 6
Convert the following LP into one in standard form.
Maximize z = 3x1 + 5x2 -x3
Subject to
x1 + 2x2 + 4x3 ≤ -4
-5x1 -3x2 +x3 ≥ 15
x2 ≤ 0
x3 ≥ 0
Solution:
Slack variable for constraint 1 is s1
Surplus variable for constraint 2 is s2
Convert x2 to nonnegative by introducing variable y2 where x2 = -y2
Convert URS x1 to nonnegative by introducing variables w1 and y1 where x1 = y1-w1
BV NBV
z 42 x1 0
x3 10 x2 0
u -34 w 0
v 22
Problem 8
#1
Solution:
Slack variable for constraint 1 is s1
Slack variable for constraint 2 is s2
Max z = x1 + 2x2 + x3 + x4
S.t.
2x1 + x2 + 3x3 + x4 ≤ 8
2x1 + 3x2 + 4x4 ≤ 12
3x1 + x2 + 2x3 ≤ 18
x1, x2, x3, x4 ≥ 0
Solution:
Slack variable for constraint 1 is s1
Slack variable for constraint 2 is s2
Slack variable for constraint 3 is s3