Jump to content

Math340/Solution 3

From UBC Wiki

Question 1 (Wednesday May 27)

The primal LP:

maximize3x1+5x2+2x3subject to−2x1+2x2+x3≤5,3x1+x2−x3≤10,x1,x2,x3≥0.

a. The dual LP problem is

minimize5y1+10y2subject to−2y1+3y2≥3,2y1+y2≥5,y1−y2≥2y1,y2≥0.

b. The best solution to the primal problem with x2=0 satisfies

−2x1+x3≤5

3x1−x3≤10.

As we try to make x1 large as possible this implies that x1=15 and x3=35 (alternatively, since we know there are only two non zero basic variables in the optimal solution, both slack variables must be zero, and so we know both above inequalities are really equalities and we can solve a linear system of equations).

c. By complementary slackness, the dual variables should satisfy

−2y1+3y2=3,

y1−y2=2

Which means y1=9, y2=7. We also need to check that (7,9) satisfies the second inequality- 2y1+y2≥5 and it does. Thus, the dual is feasible and the solution (15,0,35) is indeed optimal.

Question 2 (Friday May 29): A dual-based Phase I procedure

[Here] is the solution (updated to the full solution now, you might have to refresh your browser to see it).

Question 3 (Wednesday, June 3)

Consider our toy factory example. You have a complete solution of this using dictionaries starting on pages 13 in the textbook.

a) Here's the first matrix:

(2311005412010113420018)

and the second: (13/21/21/2005/20−50−21010−1/21/2−3/2011/2)


b) To pass from the first to the second the row operations are:

- divide the first row by 2 (so that x1 has coefficient 1),

-subtract 4*(row 1) from row 2,

-subtract 3*(row 1) from row 3.

And

E1=(1/200−210−3/201)


c)

B=(200410301)=E1−1

Question 4 (Friday June 5)

[Here] it is.