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.

142 LINEAR PROGRAMMING<br />

for all positive F pi the smallest. This will work because for F ki > 0,<br />

b p<br />

F pi<br />

≤ b k<br />

F ki<br />

⇒ b k ≥ F kib p<br />

F pi<br />

Having gotten a new simplex tableau, you do the same thing to it which was just done<br />

and continue. As long as b > 0, so you don’t encounter the degenerate case, the values<br />

for z associated with setting x F = 0 keep getting strictly larger every time the process is<br />

repeated. You keep going until you find c ≥ 0. Then you stop. You are at a maximum.<br />

Problems can occur in the process in the so called degenerate case when at some stage of<br />

the process some b j =0. In this case you can cycle through different values for x with no<br />

improvement in z. This case will not be discussed here.<br />

Example 6.3.1 Maximize 2x 1 +3x 2 subject to the constraints x 1 + x 2 ≥ 1, 2x 1 + x 2 ≤<br />

6,x 1 +2x 2 ≤ 6, x 1 ,x 2 ≥ 0.<br />

The constraints are of the form<br />

x 1 + x 2 − x 3 = 1<br />

2x 1 + x 2 + x 4 = 6<br />

x 1 +2x 2 + x 5 = 6<br />

where the x 3 ,x 4 ,x 5 are the slack variables. An augmented matrix for these equations is of<br />

the form<br />

⎛<br />

1 1 −1 0 0 1<br />

⎞<br />

⎝ 2 1 0 1 0 6 ⎠<br />

1 2 0 0 1 6<br />

Obviously the obvious solution is not feasible. It results in x 3 < 0. We need to exchange<br />

basic variables. Lets just try something.<br />

⎛<br />

⎝ 1 1 −1 0 0 1 ⎞<br />

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

0 1 1 0 1 5<br />

Now this one is all right because the obvious solution is feasible. Letting x 2 = x 3 =0,<br />

it follows that the obvious solution is feasible. Now we add in the objective function as<br />

described above.<br />

⎛<br />

⎞<br />

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

⎜ 0 −1 2 1 0 0 4<br />

⎟<br />

⎝ 0 1 1 0 1 0 5 ⎠<br />

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

Then do row operations to leave the simple columns the same. Then<br />

⎛<br />

⎞<br />

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

⎜ 0 −1 2 1 0 0 4<br />

⎟<br />

⎝ 0 1 1 0 1 0 5 ⎠<br />

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

Now there are negative numbers on the bottom row to the left of the 1. Lets pick the first.<br />

(It would be more sensible to pick the second.) The ratios to look at are 5/1, 1/1 sopickfor

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

Saved successfully!

Ooh no, something went wrong!