Exercise 4 - Linear Programming: TMA947 / MMG621 - Nonlinear Optimisation
Exercise 4 - Linear Programming: TMA947 / MMG621 - Nonlinear Optimisation
Exercise 4 - Linear Programming: TMA947 / MMG621 - Nonlinear Optimisation
−1 −1 1 −1
Draw the feasible region (preferably in MATLAB1 ). Write the program on standard form and find
a BFS corresponding to the extreme point (1, 1, 1)T . Is it degenerate? How many different BFS
correspond to this point? Compare to the extreme point (1, 2, 0)T .
x1 + x2 ≥ 1,
x1 − x2 ≤ 1,
−x1 + x2 ≤ 1,
x1 ≤ 2,
x2 ≤ 2.
Find the BFS which corresponds to the extreme point (2, 2)T . Construct new basic solutions by
using four out of the five columns included in the BFS corresponding to (2, 2)T and one column
previously not included. Can you obtain any BFS? Which ones? What does theory say about
this? (Hint: use MATLAB or Mathematica to calculate B −1 b. Note also that a variable has to be
included into the basis in order to obtain a non-zero value.)
minimize x1 + 4x2
subject to x1 + 2x2 ≤4
x1 + x2 ≥2
x1 + 2x2 ≥3
x1 , x2 ≥ 0.
1
Nonlinear optimization – Exercises October 23, 2017
E4.5 (easy) Solve the following linear program using Phase I and II of the simplex method.
minimize z = −2x1 + x2
subject to x1 − 3x2 ≤ −3,
0 ≤ x1 ,
0 ≤ x2 ≤ 2.
E4.6 (medium) Solve the following linear program using Phase I and II of the simplex method.
minimize z = x1 + 2x2
subject to 2x1 − 2x2 ≤ −2,
2x1 + x2 ≤ 2,
x1 ∈ R,
x2 ≥ 0.
E4.7 (medium) Consider the application of the simplex method to a general LP and suppose
that you, unlike in the standard procedure taught in this course, at some iteration a) choose the
entering variable to be a non-basic variable with a negative reduced cost but not having the most
negative reduced cost, or b) choose the outgoing variable as a basic variable with the B −1 Nj ∗
component > 0 but not fulfilling the minimum ratio test. Which of these choices is a critical
mistake?
E4.8 (easy) Solve the following linear program using Phase I and II of the simplex method.
minimize z = 2x1 − x2 + x3 ,
subject to x1 + 2x2 − x3 ≤ 7,
−2x1 + x2 − 3x3 ≤ −3,
x1 , x2 , x3 ≥ 0.
E4.9 (easy) Solve the following linear program using Phase I and II of the simplex method.
minimize z = −x1 + x2 ,
subject to −x1 + 2x2 ≥ 1/2,
−2x1 − 2x2 ≥ 1,
x1 ∈ R (free),
x2 ≥ 0.
E4.10 (medium) Solve the following linear program using phase I and II of the simplex method.
minimize z = 2x1
subject to x1 −x3 = 3,
x1 −x2 −2x4 = 1,
2x1 +x4 ≤ 7,
x1 , x2 , x3 , x4 ≥ 0.
2
Nonlinear optimization – Exercises October 23, 2017
E4.11 (easy) Solve the following linear program using phase I and II of the simplex method.
minimize z= x1 + x2 + 3x3 ,
subject to − x2 + 3x3 ≤ −1,
−2x1 + x2 − x3 ≤ 1,
x1 , x2 , x3 ≥ 0.
minimize z = − x1 − x2 ,
subject to −x1 − 2x2 − x3 = 2,
3x1 + x2 ≤ −1,
x2 , x3 ≥ 0,
x1 ∈ R (free).