Jump to content

Math340/Solution 3

From UBC Wiki

Question 1 (Wednesday May 27)

The primal LP:

maximize3x1+5x2+2x3subject to2x1+2x2+x35,3x1+x2x310,x1,x2,x30.

a. The dual LP problem is

minimize5y1+10y2subject to2y1+3y23,2y1+y25,y1y22y1,y20.

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

2x1+x35

3x1x310.

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,

y1y2=2

Which means y1=9, y2=7. We also need to check that (7,9) satisfies the second inequality- 2y1+y25 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/2050210101/21/23/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/2002103/201)


c)

B=(200410301)=E11

Question 4 (Friday June 5)

[Here] it is.