Docsity

optimization exercises, Exercises of Convex Optimization

Toggle sidebar
bg1
LINEAR PROGRAMMING EXERCISES
Exercise 1. Given a problem
( )
1 2 3 4
8 3 2 11 maxf x x x x= − + + − →x
1 2 3 4
1 2 3 4
14
23
12
2 2 2
3 4 4
65
3 5 3
4 7 10
x x x x
x x x x
xx
xx
xx
− + + −
− + + −
+
−
+
Prove that
( )
0 1, 2, 0, 1=−x
is an extreme optimal solution of this problem.
Exercise 2. Given linear programming problem (I) as follow:
( )
1 2 3
1 2 3 4
1 2 3
2 2 max
2 3 6
2 3 6
0 ( 1 4)
j
f x x x
x x x x
x x x
xj
= − + →
− + − =
− −
=
x
and vector
( )
00, 0, 2, 0=x
.
a. Prove that
0
x
is an extreme solution of (I).
b. Solve (I) using simplex method with the initial extreme solution
0
x
Exercise 3. Given problem (I) as follow:
( )
1 2 3 4
1 2 3
1 2 3 4
4 3 3 31
26
2 3 33
0 1,4
j
x x x x
x x x
x x x x
xj
− + +
− +
− + +
=
Prove that (I) always has an extreme optimal solution.
Exercise 4. Given problem (I) as follow:
pf3
pf4
pf5

Partial preview of the text

Download optimization exercises and more Exercises Convex Optimization in PDF only on Docsity!

LINEAR PROGRAMMING EXERCISES

Exercise 1. Given a problem f (^) ( x )= − 8 x 1 (^) + 3 x 2 (^) + 2 x 3 (^) − 11 x 4 →max

1 2 3 4 1 2 3 4 1 4 2 3 1 2

x x x x x x x x x x x x x x

^ −^ +^ +^ ^ −

 +^ 

Prove that x^0 = (^) ( −1, 2, 0, 1) is an extreme optimal solution of this problem.

Exercise 2. Given linear programming problem (I) as follow:

( ) 1 2 3 1 2 3 4 1 2 3

2 2 max 2 3 6 2 3 6 j^0 (^1 4)

f x x x x x x x x x x x j

x

and vector x^0 =( 0, 0, 2, (^0) ).

a. Prove that x^0 is an extreme solution of (I). b. Solve (I) using simplex method with the initial extreme solution x^0

Exercise 3. Given problem (I) as follow:

f ( x )= 2 x 1 (^) + 4 x 2 (^) + 3 x 3 (^) + x 4 →min

( )

1 2 3 4 1 2 3 1 2 3 4

4 3 3 31 2 6 2 3 33 j^0 1, 4

x x x x x x x x x x x x j

^ −^ +^ +^   (^) − +    (^) − + +    (^)  =

Prove that (I) always has an extreme optimal solution.

Exercise 4. Given problem (I) as follow:

f ( x )= 2 x 1 + 3 x 2 − 4 x 3 + 2 x 4 →min

1 2 3 2 3 5 2 3 4 5

4 2 2 3 6 2 3 2 6 j^0 1,

x x x x x x x x x x x j

^ −^ −^ =  (^) + +    (^) + + +    (^)  = 

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 x 1 (^) = 10.

Exercise 5. Given problem (I) as follow:

f ( x )= − 2 x 1 − 5 x 2 − 3 x 3 + x 4 − 2 x 5 →max

1 2 3 1 2 3 4 5

1 2 3 4 5

2 6 4 2 24 ( ) 3 2 3 33 2 j^0 1,

x x x x x x x x I

x x x x x

x j

  (^) − −   −^ +^ +^ +^ −^ =^ −  − − − − +    =

a. Solve this problem using simplex method.

b. Find the set of optimal solutions and an optimal solution which is not extreme point.

Exercise 6. Given problem (I) as follow:

f ( x )= 2 x 1 − x 2 + 3 x 3 + x 4 − 3 x 5 →max

1 3 4 5 1 4 5 3 4 5 1 2 3 4 5

4 2 4 8 2 20 6 3 15 2 14

x x x x x x x x x x x x x x x

^ −^ +^ −^ =  (^) + −  −   (^) − + + =   (^) + + + − =

x (^) j  (^0) ( j =1,5)

1 2 5 6 7 1 3 4 5 6 1 2 3 6 7 1 2 3 5 6 2 3 5 7

x x x x x x x x x x x x x x x x x x x x x x x x

^ −^ +^ +^ −^ =^ −

 +^ −^ −^ −^ ^ −

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.

Exercise 10. Given problem (I):

f (^) ( x )= − 8 x 1 (^) + 6 x 2 (^) + 4 x 3 (^) + 5 x 4 →min

1 3 4 1 2 3 4 1 2 3 4 1 2 4

x x x x x x x x x x x x x x

And vector x^0 = (^) ( 3, 0, −2, (^0) ).

a. Is x^0 an extreme optimal solution of (I)? b. Find the set of optimal solutions of the dual problem. Find the optimal solution of the dual problem having y 1 (^) = − 3.

Exercise 11. Given problem (I):

f (^) ( x )= − 2 x 1 (^) − x 2 (^) − 4 x 3 (^) − 5 x 4 (^) − 2 x 5 (^) − 4 x 6 →max

2 3 4 5 6 1 3 4 5 6 1 2 3 4 5 6

2 2 3 1 2 2 3 14 2 4 2 5 7

j 0,^ 1,

x x x x x x x x x x x x x x x x x j

^ +^ −^ −^ +^ ^ −  (^) − + + +   − + + + − +    (^)  = 

a. Solve (A) using simplex method.

b. Use the solution in a., find the optimal solution x having x 4 (^)  0 when we have an extra

constraint f (^) ( x ) − 5.

Exercise 12. Solve the following problem using simplex method

f (^) ( x )= 2 x 1 (^) − 6 x 2 (^) − 3 x 3 (^) + 3 x 4 (^) − x 5 →max

( )

1 2 3 4 2 3 4 5 1 2 3 4 1 3 4

2 2 8 3 3 2 51 4 2 4 0 2 40

j^0 1,

x x x x x x x x x x x x x x x x j

^ −^ +^ +^ =  (^) + + + =   (^) + − +   − + + =    =

Exercise 13. Given problem (I)

f (^) ( x )= − 2 x 1 (^) − 4 x 2 (^) − 3 x 3 (^) − x 4 →max

( )

1 2 3 4 1 2 3 1 2 3 4

4 3 3 31 2 6 2 3 33

j^0 1,

x x x x x x x x x x x x j

^ −^ +^ +^  − + −  −   (^) − + +    (^)  = 

a. Solve this problem using simplex method; find the optimal solution having x 4 = 28.

b. Find the constraint c 4 such that x^0 = (0, 1, 8, 10) is the optimal basic feasible solution.

Exercise 14. Given a problem:

f (^) ( x )= 2 x 1 (^) − 2 x 2 (^) + x 3 (^) + 5 x 4 (^) − 3 x 5 →max

x 2  0; x 3  0; x 4  0

4 x 2 x x 3 x 4

x x x x 7

2 x 3 x x 2 x 3

1 2 3 5

1 3 4 5

1 2 4 5

Exercise 1 7. Given problem (A):

f(x) = 4x 1 + 7x 2 + 2x 4 - 6x 5 - x 6 => min

x 1 , x 4 , x 6  0

a. Prove that (A) always has an optimal basic feasible solution.

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 = (b 1 , b 2 , b 3 ); find the optimal value of the objective function in this case.

3 x 4 x 3 x 6 x 15

x 2 x 2 x 3 x 8

2 x x 5 x x 9

1 4 5 6

1 2 4 6

1 3 4 6