Linear Programming Exercises Exercise 1. Given A Problem: Prove That Is An Extreme Optimal Solution of This Problem
Linear Programming Exercises Exercise 1. Given A Problem: Prove That Is An Extreme Optimal Solution of This Problem
2 x1 − x2 + x3 + 2 x4 −2
−3x + x + 4 x3 − x4 4
1 2
1 x + 6 x4 5
3x2 − 5 x3 3
4 x1 + 7 x2 10
f ( x ) = 2 x1 − x2 + 2 x3 → max
2 x1 − x2 + 3x3 − x4 = 6
2 x1 − 3x2 − x3 6
xj 0 ( j =1 4)
and vector x0 = ( 0, 0, 2, 0 ) .
f ( x ) = 2 x1 + 4 x2 + 3x3 + x4 → min
4 x1 − 3x2 + 3x3 + x4 31
x − 2x + x 6
1 2 3
2 x − x + 3x3 + x4 33
1 2
x j 0
(
j = 1, 4 )
Prove that (I) always has an extreme optimal solution.
x1 − 4 x2 − 2 x3 = 2
3x2 + x3 + x5 6
2 x2 + 3x3 + x4 + 2 x5 6
x j 0
(
j = 1,5 )
Solve this problem using simplex method and find the set of optimal solutions. Show that the
optimal solution which is not an extreme point has x1 = 10 .
f ( x ) = −2 x1 − 5 x2 − 3x3 + x4 − 2 x5 → max
x1 − x2 − 2 x3 6
− x1 + 4 x2 + x3 + x4 − 2 x5 = −24 (I )
3
− x1 − 2 x2 − x3 − x4 + 3x5 33
2
xj 0 ( j = 1,5)
a. Solve this problem using simplex method.
b. Find the set of optimal solutions and an optimal solution which is not extreme point.
4 x1 − 2 x3 + x4 − 4 x5 = 8
x + 2 x4 − x5 −20
1
− 6 x3 + x4 + 3x5 = 15
x1 + x2 + x3 + x4 − 2 x5 = 14
xj 0 ( j = 1,5)
a. Solve this problem using simplex method.
f ( x ) = x1 + x2 + c3 x3 + 2 x4 + 2 x5 → min
3x1 + x2 + x3 + 2 x4 + 3x5 = 18
6 x1 + 2 x3 + 5 x4 − 3x5 42
− 2 x3 + 2 x4 + 3x5 14
xj 0 (j = 1,5)
a. For c3 = 2, solve this problem using simplex method.
b. Find c3 such that the problem has extreme point x and f x = 10. ()
Exercise 8. Given linear programming problem (I) as follow:
f ( x ) = 2 x1 + 5 x2 + 3x3 − x4 + 2 x5 → min
x1 − x2 − 2 x3 6
− x + 4 x + x + x4 − 2 x5 = −24
1 2 3
− x − 2 x − x −
3
x4 + 3x5 33
(I )
1 2 3
2
x j 0 (
j = 1,5 )
a. Is vector x0 = ( 6, 0, 0, 0, 9 ) an extreme optimal solution of (I)?
f ( x ) = 11x1 + 9 x2 − 8 x3 + 8 x5 − 2 x6 − x7 → min
2 x1 − x2 + x5 + x6 − x7 = −1
− x + x3 + x4 + 3x5 − x6 = 5
1
x1 + x2 − 2 x3 − x6 − 2 x7 −6
x − 4 x2 + 4 x3 + 3x5 + 5 x6 = 12
1
x2 , x3 , x5 , x7 0
a. Find the feasible set and extreme points of the dual problem.
b. Prove that the above problem is solvable; Find the set of optimal solution of this
problem.
f ( x ) = −8 x1 + 6 x2 + 4 x3 + 5 x4 → min
x1 − 2 x3 + x4 7
−2 x + x − x3 + 3x4 = −4
1 2
3x1 − x2 + 2 x3 − 6 x4 5
x1 , x2 , x4 0
f ( x ) = −2 x1 − x2 − 4 x3 − 5 x4 − 2 x5 − 4 x6 → max
x2 + 2 x3 − x4 − 2 x5 + 3x6 −1
2x − x3 + 2 x4 + 3x5 + x6 14
1
− x + 2 x + 4 x + x − 2 x5 + 5 x6 7
1 2 3 4
x j 0, j = 1,6
()
constraint f x −5 .
2 x1 − 2 x2 + x3 + x4 = 8
3x2 + 3x3 + 2 x4 + x5 = 51
4x + x − 2 x3 + 4 x4 0
1 2
− x1 + 2 x3 + x4 = 40
x 0
j (
j = 1,5 )
Exercise 13. Given problem (I)
f ( x ) = −2 x1 − 4 x2 − 3x3 − x4 → max
4 x1 − 3x2 + 3x3 + x4 31
− x + 2 x − x −6
1 2 3
2x − x + 3x3 + x4 33
1 2
x j 0
(
j = 1,4 )
a. Solve this problem using simplex method; find the optimal solution having x4 = 28.
b. Find the constraint c4 such that x0 = (0, 1, 8, 10) is the optimal basic feasible solution.
f ( x ) = 2 x1 − 2 x2 + x3 + 5 x4 − 3x5 → max
2x1 + 3x 2 − x4 + 2x 5 −3
− x 1 − x3 + x4 − x5 = 7
4x + 2x 2 + x3 + 3x 5 4
1
x2 0; x3 0; x4 0
a. Find x4 such that x0 = (0, 2, 0, x4, 0) is a solution.
2 x1 − x 2 + 4x 4 − 5x 5 − 10
− x1 + 3x 2 + x3 + 2x 4 3
+ 2x 3 − x4 + x5 5
2x 2
a. Write the dual problem of (I) and its optimal basic feasible solutions.
b. Find the set of optimal solutions of the primal problem, deduce that (I) is solvable for
all b.
c. Prove that (I) is insolvable if either the second condition has the sign () or f(x) => max.
2x1 − x2 + x5 + x6 − x7 = −1
− x + x3 + x4 + 3x 5 − x6 = 5
1
x1 + x2 − 2x 3 − x6 − 2x 7 −6
x1 − 4x 2 + 4x 3 + 3x 5 + 5x 6 = 12
a. Find the feasible domain and basic feasible solutions of the dual problem.
b. Prove that the problem above is solvable. Find the optimal basic feasible solutions of
primal-dual problems.
c. In the dual problem, given f ( y ) → min ; find the optimal solution of the new primal-
dual problems.
Exercise 17. Given problem (A):
− 2 x 1 − x3 + 5x 4 + x6 9
x1 + 2x 2 − 2x 4 + 3x 6 −8
3x − 4x 4 + 3x 5 + 6x 6 15
1
x1, x4, x6 0
b. Find the sets of optimal solutions and optimal basic feasible solutions of the dual
problem.
c. Prove that (A) is solvable for all b = (b1, b2, b3); find the optimal value of the objective
function in this case.