Академический Документы
Профессиональный Документы
Культура Документы
B
1
.
B b
And in the z-row, the coefficient of x
j
will be
Finally the solution entry in the z-row will be
In matrix form the new tableau will look like
Basic z Solution
z 1
1
B b
1
A
B
0
B
X
1
j j j j
A c z c
=
B
c B
1
B
c B b
1
A c
B
c B
1
B
c B b
X
Basic z x
j
Solution
z 1
1
B b
1
j
A
B
0
B
X
1
j j
A c
B
c B
1
B
c B b
In terms of the components x
j
, the new
tableau will look like
Problem 3 Problem Set 7.1C Pages 296-297
In the following LPP, compute the entire simplex
tableau associated with X
B
= (x
1
, x
2
, x
5
)
T
:
Minimize
1 2
2 z x x = +
Subject to
1 2 3
1 2 4
1 2 5
1 2 3 4 5
3 3
4 3 6
2 3
, , , , 0
x x x
x x x
x x x
x x x x x
+ =
+ =
+ + =
>
In matrix form the LPP is
z = cX
Subject to
,
=
> >
A X b
X 0 b 0
Minimize
where
(Continues on the next slide)
3 1 1 0 0
4 3 0 1 0
1 2 0 0 1
A
(
(
=
(
(
3
6
3
b
(
(
=
(
(
| |
1 2 5
3 1 0
4 3 0
1 2 1
B A A A
(
(
= =
(
(
where
| |
2 1 0 0 0 c =
The new Simplex tableau in matrix form is
1
3 1
0
5 5
4 3
0
5 5
1 1 1
(
(
(
=
(
(
(
(
B
Basic z Solution
z 1
1
B b
1
A
B
0
B
X
1
A c
B
c B
1
B
c B b
X
Thus the new solution is
3/ 5 1/ 5 0 3
4/ 5 3/ 5 0 6
1 1 1 3
( (
( (
=
( (
( (
3/ 5
6/ 5
0
(
(
(
(
The new constraint columns in the body of the tableau
are:
1
1 2 3 4 5
[ , , , , ] A A A A A
= B
1 1 1 1 1
1 2 3 4 5
[ , , , , ] A A A A A
= B B B B B
1
B b =
=
B
X
1 0 3/ 5 1/ 5 0
0 1 4/ 5 3/ 5 0
0 0 1 1 1
(
(
(
(
The coefficients of x
j
in the z-row are
and so are
0, 0, -2, -1/5, 0 .
1
, 1, 2,3, 4,5
j j
A c j
=
B
c B
Finally the solution in the RHS of z-row is:
12/5
Hence the associated Simplex tableau is:
Basic z x1 x2 x3 x4 x5 Sol
z
x1
x2
x5
1
0
0
0
1
0
0
0
1
0
-3/5
-4/5
-1
1/5
-3/5
1
0
0
1
3/5
6/5
0
1
B
c B b =
12/5 0 0 -2 -1/5 0
Consider the following LPP
Maximize
1 2 3
2 z x x x = +
subject to
1 2 3
1 2 3
1 2 3
1 2 3
2 2 3 5
3
2
, , 0
x x x
x x x
x x x
x x x
+ s
+ s
+ s
>
After introducing the slack variables
to the respective constraints, the problem becomes
Maximize
1 2 3
2 z x x x = +
subject to
1 2 3 4
1 2 3 5
1 2 3 6
1 2 3 4 5 6
2 2 3 5
3
2
, , , , , 0
x x x x
x x x x
x x x x
x x x x x x
+ + =
+ + =
+ + =
>
4 5 6
, , x x x
So the starting simplex tableau is
Basic z x1 x2 x3 x4 x5 x6 Sol
z
x4
x5
x6
1
0
0
0
-1
2
1
1
1
-2
1
-1
-2
3
-1
1
0
1
0
0
0
0
1
0
0
0
0
1
0
5
3
2
After we apply the Simplex method a portion of the
final tableau is as follows:
Basic z x1 x2 x3 x4 x5 x6 Sol
z
x2
x6
x3
1
0
0
0
1
1
0
1
1
3
1
2
0
0
1
0
Identify the missing numbers.
Since are the basic variables in the
final tableau in that order, the basic matrix B is
formed by the columns corresponding to these
variables in the starting tableau in that order. Thus
2 6 3
, , x x x
Now B
-1
is found below the variables
4 5 6
, , x x x
(which were the starting Basic variables) in the
final tableau. Thus
2 0 3
1 0 1
1 1 1
B
(
(
=
(
(
1
1 3 0
B 0 1 1
1 2 0
(
(
=
(
(
The new column corresponding to x
1
in the final
tableau is
1
1
1 3 0 2 5
B 0 1 1 1 2
1 2 0 1 4
A
( ( (
( ( (
= =
( ( (
( ( (
The new column corresponding to x
2
in the
final tableau is
1
0
0
(
(
(
(
as it is the first basic variable in the final tableau.
The new column corresponding to x
3
in the final
tableau is
0
0
1
(
(
(
(
as it is the third basic variable in the final tableau.
The solution column (in the constraint equations)
in the final tableau is
14
5
11
(
(
(
(
Now
Thus entry below x
1
in z-row is = 3-1= 2
Entries below x
2
, x
3
in z-row are zero as they are
basic variables.
Finally soln = z =
= 8
1
1 3 0 5
0 1 1 3
1 2 0 2
B b
( (
( (
= =
( (
( (
| |
1 0 2
B
C =
1
1 1
A c
B
C B
1
=
B
C B b
| |
1 0 2
14
5
11
(
(
(
(
Answer:
Basic z x
1
x
2
x
3
x
4
x
5
x
6
Sol
z
x
2
x
6
x
3
1
0
0
0
5
2
4
1
0
0
0
0
1
1
1
0
1
1
3
1
2
0
0
1
0
14
5
11
8
2 0 0
All these are shown below.
Consider the following LPP
Maximize
1 2 3 4
4 3 2 z x x x x = + + +
subject to
1 2 3 4
1 2 3 4
1 2 3 4
4 2 5
3 2 4
, , , 0
x x x x
x x x x
x x x x
+ + + s
+ + + s
>
After introducing the slack variables
to the respective constraints, the problem becomes
Maximize
subject to
5 6
, x x
1 2 3 4 5
1 2 3 4 6
1 2 3 4 5 6
4 2 5
3 2 4
, , , , , 0
x x x x x
x x x x x
x x x x x x
+ + + + =
+ + + + =
>
1 2 3 4
4 3 2 z x x x x = + + +
So the starting simplex tableau is
Basic z x1 x2 x3 x4 x5 x6 Sol
z
x5
x6
1
0
0
-4
4
3
-3
2
1
-1
1
2
-2
1
1
0
1
0
0
0
1
0
5
4
After we apply the Simplex method a portion of the
final tableau is as follows:
Basic z x1 x2 x3 x4 x5 x6 Sol
z
x2
x4
1
0
0
1
1
-1
1
-1
2
Identify the missing numbers.
Since are the basic variables in the
final tableau in that order, the basic matrix B is
formed by the columns corresponding to these
variables in the starting tableau in that order. Thus
2 4
, x x
2 1
1 1
(
=
(
B
Now B
-1
is found below the variables
5 6
, x x
(which were the starting Basic variables) in the
final tableau. Thus
1
1 1
B
1 2
(
=
(
The new column corresponding to x
1
in the final
tableau is
1
1
1 1 4 1
B
1 2 3 2
A
( ( (
= =
( ( (
The new column corresponding to x
3
in the final
tableau is
1
3
1 1 1 1
B
1 2 2 3
A
( ( (
= =
( ( (
The new column corresponding to x
2
in the final
tableau is
1
0
(
(
as it is the first basic variable in the final tableau.
The new column corresponding to x
4
in the final
tableau is
0
1
(
(
as it is the second basic variable in the final tableau.
The solution column (in the constraint equations)
in the final tableau is
1
1 1 5
B
1 2 4
b
( (
= =
( (
1
3
(
(
Thus entry below x
1
in z-row is
7 - 4 = 3
Entries below x
2
, x
4
in z-row are zero as they are basic
variables.
Finally solution = z =
= 9
Thus entry below x
3
in z-row is 3-1= 2
1
1 1
B
B
c A c
=
1
3 3
B
B
c A c
=
1
B
B
c b
=
1
3
(
(
| |
3 2
Note that
B
c =
| |
3 2
| |
3 2
1
2
(
(
- 4 =
Answer:
Basic z x1 x2 x3 x4 x5 x6 Sol
z
x2
x4
1
0
0
1
1
1
1
-1
2
1
2
-1
3
1
0
0
1
3 0 2 0
1
3
9
All these are shown below.