|
|
|
|
b | |
|
|
2 |
-6 |
| 0 |
1 |
2 |
| 2 |
0 | 11 |
| -1 |
1 |
0 |
|
| 1 |
0 |
0 |
0 |
| 0 |
1 |
0 |
0 |
| 0 |
0 |
1 |
0 |
| 0 |
0 |
0 |
1 |
|
|
| c0 |
|
| 0 |
|
|
| 1 |
-2 |
6 |
| 0 |
1 |
2 |
| 0 |
4 | |
| 0 |
19 |
6 |
|
| -1 |
0 |
0 |
0 |
| 0 |
1 |
0 |
0 |
| 2 |
0 |
1 |
0 |
| -1 |
0 |
0 |
1 |
|
|
| c1 |
|
| -20 |
|
|
| 1 |
22 |
0 |
| 0 |
9 |
0 |
| 0 |
-4 | 1 |
| 0 |
23 |
0 |
|
| 11 |
0 |
6 |
0 |
| 4 |
1 |
2 |
0 |
| -2 |
0 |
-1 |
0 |
| 11 |
0 |
6 |
1 |
|
|
| c* |
|
| -26 |
|
Tableau 1.
The vector b has two negative component b1 = - 10
and b4 = - 2 , we choose b1 = - 10.
( In general we should select the smallest component).
Next we choose an entry of the matrix A which produces the largest value of
c0j/a1j with negative a1j.
max { c0/a11 = 2/(-1) , c03/a31 = 18/(-6) } = -2
Thus a11 is the pivot entry. Now we use some row operations to change the non-basic variable
x1 into a basic variable
e1 = ( 1 , 0 , 0 , 0 )t.
Tableau 2.
The only negative component of b is b3 = - 1, and only
a33 < 0. Thus
a33 is the pivot entry. The non-basic variable
x3 must be changed into
e3 = ( 0 , 0 , 1 , 0 )t.
Tableau 3.
Since all the components of the vector b* are nonnegative, this is the final tableau; it indicates that the minimum value of z = - ( - 26 ) = 26 and the optimal solution is
X* = ( 4 , 0 , 1 , 0 , 4 , 0 , 2 )t.
|