06.09.2021 Views

Linear Algebra, Theory And Applications, 2012a

Linear Algebra, Theory And Applications, 2012a

Linear Algebra, Theory And Applications, 2012a

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.

6.3. THE SIMPLEX ALGORITHM 143<br />

the pivot the 1 in the second column and first row. This will leave the right column above<br />

the lower right corner nonnegative. Thus the next tableau is<br />

⎛<br />

⎞<br />

1 1 −1 0 0 0 1<br />

⎜ 1 0 1 1 0 0 5<br />

⎟<br />

⎝ −1 0 2 0 1 0 4 ⎠<br />

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

There is still a negative number there to the left of the 1 in the bottom row. The new ratios<br />

are 4/2, 5/1 so the new pivot is the 2 in the third column. Thus the next tableau is<br />

⎛<br />

⎞<br />

1<br />

1<br />

2<br />

1 0 0<br />

2<br />

0 3<br />

3<br />

⎜ 2<br />

0 0 1 − 1 2<br />

0 3<br />

⎟<br />

⎝ −1 0 2 0 1 0 4 ⎠<br />

− 1 3<br />

2<br />

0 0 0<br />

2<br />

1 9<br />

Still, there is a negative number in the bottom row to the left of the 1 so the process does<br />

not stop yet. The ratios are 3/ (3/2) and 3/ (1/2) and so the new pivot is that 3/2 in the<br />

first column. Thus the new tableau is<br />

⎛<br />

⎞<br />

⎜<br />

⎝<br />

0 1 0 − 1 3 3<br />

0 2<br />

3<br />

2<br />

0 0 1 − 1 2<br />

0 3<br />

2 2<br />

0 0 2<br />

3 3<br />

0 6<br />

1 4<br />

0 0 0<br />

3 3<br />

1 10<br />

Now stop. The maximum value is 10. This is an easy enough problem to do geometrically<br />

and so you can easily verify that this is the right answer. It occurs when x 4 = x 5 =0,x 1 =<br />

2,x 2 =2,x 3 =3.<br />

6.3.2 Minimums<br />

How does it differ if you are finding a minimum? From a basic feasible solution, a simplex<br />

tableau of the following form has been obtained in which the simple columns for the basic<br />

variables, x B are listed first and b ≥ 0.<br />

( )<br />

I F 0 b<br />

0 c 1 z 0 (6.14)<br />

Let x 0 i = b i for i =1, ··· ,m and x 0 i =0fori>m.Then ( x 0 ,z 0) is a solution to the above<br />

system and since b ≥ 0, it follows ( x 0 ,z 0) is a basic feasible solution. So far, there is no<br />

change.<br />

Suppose first that some c i > 0andF ji ≤ 0foreachj. Then let x ′ F consist of changing x i<br />

by making it positive but leaving the other entries of x F equal to 0. Then from the bottom<br />

row,<br />

z = −c i x i + z 0<br />

and you let x ′ B = b − F x′ F ≥ 0. Thus the constraints continue to hold when x i is made<br />

increasingly positive and it follows from the above equation that there is no minimum for<br />

z. You stop when this happens.<br />

Next suppose c ≤ 0. Then in this case, z = z 0 − cx F and from the constraints, x F ≥ 0<br />

and so −cx F ≥ 0andsoz 0 is the minimum value and you stop since this is what you are<br />

looking for.<br />

What do you do in the case where some c i > 0andsomeF ji > 0? In this case, you use<br />

the simplex algorithm as in the case of maximums to obtain a new simplex tableau in which<br />

2<br />

⎟<br />

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

Saved successfully!

Ooh no, something went wrong!