Docsity

Dual Solution and Optimality Conditions for a Linear Programming Problem, Assignments of Optimization Techniques in Engineering

Toggle sidebar
bg1
[3] First, we can rewrite the primal problem as follows
minimize z=cTx
subject to Ax ≥b1(1)
Ax ≤b2(2)
x≥0 (3)
Since we have ”2” constraints and ”1” variables in the primal, we have ”2”
variables and ”1” constraints in the dual. Then, let’s introduce a new variable
y= (y1, y2)Tin the dual. Then, the dual to this problem is
maximize z=bT
1y1+bT
2y2
subject to ATy1+ATy2≤c(4)
y1≥0 (5)
y2≤0 (6)
•For (4): since (3) x≥0, (4) is consistent with the canonical form of
maximization problem (Ax ≤b).
•For (5): since (1) is consistent with the canonical form of minimization
problem (Ax ≥b), (5) y1is nonnegative.
•For (6): since (2) is reversed from the canonical form of minimization
problem, (6) y2is nonpositive.
[4] Dual to this problem is
min z=y1+ 2y2
−y1+ 2y2≥ −1
y1−y2≥ −1
y1≤0
y2≥0
And, the optimal solution of primal is x= (0,1)T, and the optimal solution of
dual is y= (−1,0)T. Thus, cTx=−1” = ” −1 = bTy(strong duality holds).
[5.a.] The optimal solution in the dual is y∗= (7
2,1
2)T.
[5.b.] An optimal solution in the primal is x∗= (0,1
3,1
3)T: use the complemen-
tary slackness xT
∗(ATy∗−c) = 0 and yT
∗(Ax∗−b) = 0. (we did this in class)
[Note] In the discussion section, we solved ]13 in the book (p. 159). For (b),
we derived three equations for x∗= (x1, x2, x3)Tusing the above two comple-
mentary slackness conditions and strong duality theorem (optimal values are
equal). But, among these three equations, we have only ”two linearly inde-
pendent” equations, which means that we have ”two” equations for ”three”
1
pf2

Partial preview of the text

Download Dual Solution and Optimality Conditions for a Linear Programming Problem and more Assignments Optimization Techniques in Engineering in PDF only on Docsity!

[3] First, we can rewrite the primal problem as follows

minimize z = cT^ x subject to Ax ≥ b 1 (1) Ax ≤ b 2 (2) x ≥ 0 (3)

Since we have ”2” constraints and ”1” variables in the primal, we have ”2” variables and ”1” constraints in the dual. Then, let’s introduce a new variable y = (y 1 , y 2 )T^ in the dual. Then, the dual to this problem is

maximize z = bT 1 y 1 + bT 2 y 2 subject to AT^ y 1 + AT^ y 2 ≤ c (4) y 1 ≥ 0 (5) y 2 ≤ 0 (6)

  • For (4): since (3) x ≥ 0, (4) is consistent with the canonical form of maximization problem (Ax ≤ b).
  • For (5): since (1) is consistent with the canonical form of minimization problem (Ax ≥ b), (5) y 1 is nonnegative.
  • For (6): since (2) is reversed from the canonical form of minimization problem, (6) y 2 is nonpositive.

[4] Dual to this problem is

min z = y 1 + 2y 2 −y 1 + 2y 2 ≥ − 1 y 1 − y 2 ≥ − 1 y 1 ≤ 0 y 2 ≥ 0

And, the optimal solution of primal is x = (0, 1)T^ , and the optimal solution of dual is y = (− 1 , 0)T^. Thus, cT^ x = −1” = ” − 1 = bT^ y (strong duality holds).

[5.a.] The optimal solution in the dual is y∗ = ( 72 , 12 )T^.

[5.b.] An optimal solution in the primal is x∗ = (0, 13 , 13 )T^ : use the complemen- tary slackness xT ∗ (AT^ y∗ − c) = 0 and yT ∗ (Ax∗ − b) = 0. (we did this in class)

[Note] In the discussion section, we solved ]13 in the book (p. 159). For (b), we derived three equations for x∗ = (x 1 , x 2 , x 3 )T^ using the above two comple- mentary slackness conditions and strong duality theorem (optimal values are equal). But, among these three equations, we have only ”two linearly inde- pendent” equations, which means that we have ”two” equations for ”three”

variables x 1 , x 2 , x 3. Thus, we cannot find an optimal solution x∗ = (x 1 , x 2 , x 3 )T using complementary slackness for this problem.

  • Thus, the complementary slackness is an necessary condition for the op- timal solution x∗, but not an sufficient condition.
  • But, there exists an optimal solution x∗ = (x 1 , x 2 , x 3 )T^ in the primal, and to find it, we can use the simplex method.

[6] The dual of this problem is

maximize z = bT^ y subject to AT^ y ≤ c (7) y ≤ 0 (8)

Since cT^ ≥ yT^ A by (7), we have cT^ x∗ ≥ y ∗T Ax∗;

(1) z∗ = cT^ x∗ ≥ y ∗T Ax∗.

In addition, since bT^ ≥ (Ax)T^ by the constraint in the primal and y∗ ≤ 0, we obtain bT^ y∗ ≤ (Ax∗)T^ y∗ = y ∗T (Ax∗);

(2) w∗ = bT^ y∗ ≤ yT ∗ Ax∗.

By (1),(2) and Strong duality theorem, we have

y ∗T Ax∗ ≤ z∗ = w∗ ≤ yT ∗ Ax∗.

Hence, z∗ = yT ∗ Ax∗.