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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
using this information, we can compute:<br />
c T BB −1 A·5 − c5 = 7<br />
c T BB −1 A·2 − c2 = −6<br />
Based on this information, we can only choose x2 to enter the basis to ensure that the<br />
value of the objective function increases. We can perform the minimum ration test to figure<br />
out which basic variable will leave the basis. We know that B −1 A·2 is just the second column<br />
of B−1N which is:<br />
B −1 ⎡<br />
A·2 = ⎣ 1<br />
⎤<br />
2⎦<br />
0<br />
Performing the minimum ratio test, we see have:<br />
<br />
15 125<br />
min ,<br />
1 2<br />
In this case, we see that index 1 (15/1) is the minimum ratio. Therefore, variable x2 will<br />
enter the basis and variable s1 will leave the basis. The new basic and non-basic variables<br />
will be: The new basic and non-basic variables will be:<br />
⎡<br />
xB = ⎣ x2<br />
⎤<br />
⎡<br />
<br />
s3<br />
s2⎦<br />
xN = cB = ⎣<br />
s1<br />
6<br />
⎤<br />
<br />
0⎦<br />
0<br />
cN =<br />
0<br />
7<br />
x1<br />
and the matrices become:<br />
⎡ ⎤ ⎡<br />
1 0 3 0<br />
B = ⎣2 1 1⎦<br />
N = ⎣0 ⎤<br />
1<br />
0⎦<br />
0 0 1 1 0<br />
The derived matrices are then:<br />
B −1 ⎡<br />
b = ⎣ 15<br />
⎤<br />
95⎦<br />
B<br />
35<br />
−1 ⎡<br />
−3<br />
N = ⎣ 5<br />
⎤<br />
1<br />
−2⎦<br />
1 0<br />
The cost information becomes:<br />
c T BB −1 b = 335 c T BB −1 N = −11 6 c T BB −1 N − cN = −11 6 <br />
Based on this information, we can only choose s3 to (re-enter) the basis to ensure that<br />
the value of the objective function increases. We can perform the minimum ration test to<br />
figure out which basic variable will leave the basis. We know that B −1 A·5 is just the fifth<br />
column of B−1N which is:<br />
B −1 ⎡<br />
A·5 = ⎣ −3<br />
⎤<br />
5 ⎦<br />
1<br />
Performing the minimum ratio test, we see have:<br />
<br />
95 35<br />
min ,<br />
5 1<br />
76