Math340/Solution 3

From UBC Wiki

Question 1 (Wednesday May 27)

The primal LP:

a. The dual LP problem is

b. The best solution to the primal problem with satisfies

As we try to make large as possible this implies that and (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

Which means . We also need to check that satisfies the second inequality- and it does. Thus, the dual is feasible and the solution 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:

and the second:


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

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

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

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

And


c)

Question 4 (Friday June 5)

[Here] it is.