2
Math 354 Summer 2004 Homework #5 Solutions Please write your answers on a separate sheet of paper, and include at least some intermediate steps and English words. This homework covers sections 3.1-3.4. 1  Consider the linear programmin g problem Maximize z  = 5x 1  + 10 x 2 subject to x 1  + 3x 2   50 4x 1  + 2x 2   60 x 1   5 x 1 , x 2   0 (a) State the dual of the prece ding LPP. (b) Given that (5 , 15) is an optimal solution to this LPP, use the Duality Theorem and the principle of complementary slackness to nd optimal solution to the dual. Answer:  The dual of this LPP is: Minimize z = 50w 1  + 60 w 2  + 5 w 3 subject to w 1  + 4w 2  +  w 3   5 3w 1  + 2w 2   10 w 1 , w 2 , w 3   0 For part (b), let’s begin by recalling the principle: Princi ple of Compl emen tary Slac kness:  Let  x  be an optimal solution to an LPP and let  w  be an optimal solution to the dual problem. Suppose that when we plug  x  into the  ith inequalit y of the primal problem has slack (i.e., is not tight). Then the  i th component of  w  is 0. We can also apply the dual of this principle, which states that if we plug  w  into the dual problem and see that the  j th inequality of the this problem has slack, then the  j th component of  x  is 0. Plugging (5, 15) into the primal pr oblem, we see that the second ineq uali t y bec omes 4(5) + 2(15)   60, whi ch has slack. Ther efore  w 2  = 0 by the Principle of Complementary Slackness. Then we look at the sec ond ineq ual ity in the dual problem. It states tha t 3 w 1  + 2w 2  ≥  10. But now we know that  w 2  = 0, so this says 3w 1  ≥ 10. If this inequal ity had slack , then the dual version of the Principle of Complementary Slackness would say that  x 2  = 0. But this can’t be the case, because  x 2  = 15   = 0. Ther efore this ineq uality is tight, so 3w 1  = 10, and thus  w 1  = 10/3.

354hw5soln

Embed Size (px)

Citation preview

Page 1: 354hw5soln

8/13/2019 354hw5soln

http://slidepdf.com/reader/full/354hw5soln 1/2

Math 354 Summer 2004

Homework #5 Solutions

Please write your answers on a separate sheet of paper, and include at least some intermediate stepsand English words.

This homework covers sections 3.1-3.4.

1   Consider the linear programming problem

Maximize z  = 5x1 + 10x2

subject tox1   + 3x2   ≤   50

4x1   + 2x2   ≤   60x1   ≤   5

x1, x2   ≥   0

(a) State the dual of the preceding LPP.

(b) Given that (5, 15) is an optimal solution to this LPP, use the Duality Theorem and theprinciple of complementary slackness to find optimal solution to the dual.

Answer:  The dual of this LPP is:

Minimize z ′ = 50w1 + 60w2 + 5w3

subject tow1   + 4w2   +   w3   ≥   5

3w1   + 2w2   ≥   10w1, w2, w3   ≥   0

For part (b), let’s begin by recalling the principle:

Principle of Complementary Slackness:   Let  x   be an optimal solution to an LPP andlet w  be an optimal solution to the dual problem. Suppose that when we plug  x  into the  ithinequality of the primal problem has slack (i.e., is not tight). Then the ith component of  w  is0.

We can also apply the dual of this principle, which states that if we plug   w   into the dualproblem and see that the jth inequality of the this problem has slack, then the  jth componentof  x  is 0.

Plugging (5, 15) into the primal problem, we see that the second inequality becomes4(5) + 2(15)  ≤   60, which has slack. Therefore  w2   = 0 by the Principle of ComplementarySlackness.

Then we look at the second inequality in the dual problem. It states that 3w1 + 2w2  ≥  10.But now we know that  w2  = 0, so this says 3w1  ≥ 10. If this inequality had slack, then thedual version of the Principle of Complementary Slackness would say that  x2   = 0. But thiscan’t be the case, because  x2  = 15  = 0. Therefore this inequality is tight, so 3w1  = 10, andthus w1 = 10/3.

Page 2: 354hw5soln

8/13/2019 354hw5soln

http://slidepdf.com/reader/full/354hw5soln 2/2