24.03.2013 Views

Linear Programming Lecture Notes - Penn State Personal Web Server

Linear Programming Lecture Notes - Penn State Personal Web Server

Linear Programming Lecture Notes - Penn State Personal Web Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

We can choose either s1 or s2 as a leaving variable. For the sake of argument, suppose<br />

we choose s2, the variable that’s most negative as the leaving variable. Then our entering<br />

variable is chosen by comparing:<br />

z1 − c1<br />

|a21|<br />

z2 − c2<br />

|a22|<br />

1<br />

=<br />

| − 1|<br />

1<br />

=<br />

| − 2|<br />

Clearly, 1/2 < 1 and therefore, x2 is our entering variable.<br />

⎡<br />

⎤<br />

z x1 x2 s1 s2 RHS<br />

z ⎢ 1 1/2 0 0 1/2 −1 ⎥<br />

⎢<br />

⎥<br />

s1 ⎣ 0 -3/2 0 1 −1/2 −3 ⎦<br />

x2 0 1/2 1 0 −1/2 1<br />

At this point, we see we have maintained dual feasibility, but we still do not have primal<br />

feasibility. We can therefore choose a new leaving variable (s1) corresponding to the negative<br />

element in the RHS. The minimum ratio test shows that this time x1 will enter and the final<br />

simplex tableau will be:<br />

z<br />

x1<br />

x2<br />

⎡<br />

⎢<br />

⎣<br />

z x1 x2 s1 s2 RHS<br />

1 0 0 1/3 1/3 −2<br />

0 1 0 −2/3 1/3 2<br />

0 0 1 1/3 −2/3 0<br />

It’s clear this is the optimal solution to the problem since we’ve achieved primal and dual<br />

feasibility and complementary slackness. It’s also worth noting that this optimal solution is<br />

degenerate, since there is a zero in the right hand side.<br />

Exercise 70. Prove that the minimum ratio test given in the dual simplex algorithm<br />

will maintain dual feasibility from one iteration of the simplex tableau to the next. [Hint:<br />

Prove that the reduced costs remain greater than or equal to zero, just as we proved that b<br />

remains positive for the standard simplex algorithm.]<br />

156<br />

⎤<br />

⎥<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!