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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.1. Lexicographic Minimum Ratio Test. Suppose we are considering a linear programming<br />

problem and we have chosen an entering variable xj according to a fixed entering<br />

variable rule. Assume further, we are given some current basis matrix B and as usual, the<br />

right-hand-side vector of the constraints is denoted b, while the coefficient matrix is denoted<br />

A. Then the minimum ratio test asserts that we will chose as the leaving variable the basis<br />

variable with the minimum ratio in the minimum ratio test. Consider the following set:<br />

<br />

(7.4) I0 = r : br<br />

<br />

bi<br />

= min : i = 1, . . . , m and aji > 0<br />

ajr<br />

aji<br />

In the absence of degeneracy, I0 contains a single element: the row index that has the<br />

smallest ratio of bi to aji , where naturally: b = B−1b and aj = B−1A·j. In this case, xj is<br />

swapped into the basis in exchange for xBr (the rth basic variable).<br />

When we have a degenerate basic feasible solution, then I0 is not a singleton set and<br />

contains all the rows that have tied in the minimum ratio test. In this case, we can form a<br />

new set:<br />

(7.5) I1 =<br />

<br />

r : a1r<br />

ajr<br />

<br />

a1i<br />

= min<br />

aji<br />

: i ∈ I0<br />

<br />

Here, we are taking the elements in column 1 of B −1 A·1 to obtain a1. The elements of<br />

this (column) vector are then being divided by the elements of the (column) vector aj on a<br />

index-by-index basis. If this set is a singleton, then basic variable xBr leaves the basis. If<br />

this set is not a singleton, we may form a new set I2 with column a2. In general, we will<br />

have the set:<br />

(7.6) Ik =<br />

<br />

r : akr<br />

ajr<br />

<br />

aki<br />

= min<br />

aji<br />

: i ∈ Ik−1<br />

<br />

Lemma 7.5. For any degenerate basis matrix B for any linear programming problem, we<br />

will ultimately find a k so that Ik is a singleton.<br />

Exercise 57. Prove Lemma 7.5. [Hint: Assume that the tableau is arranged so that<br />

the identity columns are columns 1 through m. (That is aj = ej for i = 1, . . . , m.) Show<br />

that this configuration will easily lead to a singleton Ik for k < m.]<br />

In executing the lexicographic minimum ratio test, we can see that we are essentially<br />

comparing the tied rows in a lexicographic manner. If a set of rows ties in the minimum<br />

ratio test, then we execute a minimum ratio test on the first column of the tied rows. If<br />

there is a tie, then we move on executing a minimum ratio test on the second column of the<br />

rows that tied in both previous tests. This continues until the tie is broken and a single row<br />

emerges as the leaving row.<br />

Example 7.6. Let us consider the example from Beale again using the lexicographic<br />

minimum ratio test. Consider the tableau shown below.<br />

Tableau I:<br />

z<br />

x1<br />

x2<br />

⎡<br />

z<br />

⎢ 1<br />

⎢ 0<br />

⎢<br />

⎣ 0<br />

x1<br />

0<br />

1<br />

0<br />

x2<br />

0<br />

0<br />

1<br />

x3<br />

0<br />

0<br />

0<br />

x4<br />

3/4<br />

1/4<br />

1/2<br />

x5<br />

−20<br />

−8<br />

−12<br />

x6<br />

1/2<br />

−1<br />

−1/2<br />

x7<br />

−6<br />

9<br />

3<br />

⎤<br />

RHS<br />

0 ⎥<br />

0 ⎥<br />

0 ⎦<br />

x3 0 0 0 1 0 0 1 0 1<br />

112

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

Saved successfully!

Ooh no, something went wrong!