Linear Programming (Simplex Min Method Exercise) - SOLUTIONS
Linear Programming (Simplex Min Method Exercise) - SOLUTIONS
Note: The slack variables have zero coefficients in the objective function while the
artificial variable contributes a value, which is power of ten greater than any
coefficient in the program.
The initial table has entries in the product column, which are the slack and artificial
variables with positive coefficients in the constraints.
Example:
Minimize: C = 20X1 + 10X2 + 80X3
Subject to:
X 1 + X2 + X 3 ≥6
2X1 + 4X2 + X3 = 20
2X1 + X2 ≤5
X1, X2, X3 ≥0
100 A1 20 2 4 1 0 0 0 1 20 / 4 = 5
100 A2 5 2 1 0 0 1 0 0 5/1=5
10 X2 5 ½ 1 ¼ 0 0 0 ¼ 5 / ½ = 10
100 A2 0 3/2 0 -¼ 0 1 0 -¼
NR2 = OR2/4 = 20 2 4 1 0 0 0 1
4
=5 ½ 1 ¼ 0 0 0 ¼
NR1 = OR1-NR2 = 6 1 1 1 -1 0 1 0
5 ½ 1 ¼ 0 0 0 ¼
1 ½ 0 ¾ -1 0 1 -¼
NR3 = OR3-NR2 = 5 2 1 0 0 1 0 0
5 ½ 1 ¼ 0 0 0 ¼
0 3/2 0 -¼ 0 1 0 -¼
Cj 20 10 80 0 0 100 100
Prod Qty X1 X2 X3 S1 S2 A1 A2
20 X1 2 1 0 3/2 -2 0 2 -½ 2/2 = 1
10 X2 4 0 1 -½ 1 0 -1 ½
NR2 = OR2+NR3 = 4 0 1 -½ 1 0 -1 ½
1 0 0 5/6 -1 -1/3 1 -1/6
5 0 1 1/3 0 -1/3 0 1/3
Cj 20 10 80 0 0 100 100
Prod Qty X1 X2 X3 S1 S2 A1 A2
20 X1 1/5 1 0 0 -1/5 11/15 1/5 -1/5
Cj - Zj 0 0 0 96 58/3 4 84