STUDY MATERIAL ON LINEAR PROGRAMMING PART 10
STUDY MATERIAL ON LINEAR PROGRAMMING PART 10
a 11 x1 + a 12 x2 + ... + a 1n xn + xn + 1 = b1.
a 21 x1 + a 22 x2 + ... + a 2n xn ≥ b2 ,
then this will be transformed into an equality by subtracting
from the left a non-negative quantity xn+2, called the surplus
variable, as
a 21 x1 + a 22 x2 + ... + a 2n xn − xn + 2 = b2.
Recasting a linear programming problem
Simplex Method:
x1, x2 , x3 , x4, x5 ≥ 0.
Table 1
cj 4 7 0 0 0
𝐜B B 𝐱B 𝐛 𝐚1 𝐚2 𝐚3 𝐚4 𝐚5
0 𝐚3 x3 1000 2 1 1 0 0
0 𝐚4 x4 6000 10 10 0 1 0
0 𝐚5 x5 2000 2 44 0 0 1
zj–cj –4 –7 0 0 0
↑ ↓
Index number
z1 – c1 = (2 × 0 + 10 × 0 + 2 × 0) – 4 = – 4;
z2 – c2 = (1 × 0 + 10 × 0 + 4 × 0) – 7 = – 7;
z3 – c3 = (1 × 0 + 0 × 0 + 0 × 0) – 0 = 0;
z4 – c4 = (0 × 0 + 1 × 0 + 0 × 0) – 0 = 0;
z5 – c5 = (0 × 0 + 0 × 0 + 1 × 0) – 0 = 0;
In this table, at least one (zj – cj) < 0 and hence this table will
not give the optimal solution. To construct a new table, we
proceed as below.
1000
Thus, for the 1st row, = 1000,
1
6000
for the 2nd row, = 600,
10
2000
for the 3rd row, = 500.
4
The third being the smallest, 3rd row is the key row and 𝐚5
under B is the departing vector, which is shown by a downward
arrow in the table. Then 4, being the intersection of key column
and key row, is the key number.
To get the elements of the new 2nd row of the new table, we
multiply the elements of the new 3rd row by 10 and subtract
them from the elements of the old 2nd row.
Table 2
cj 4 7 0 0 0
𝐜B B 𝐱B 𝐛 𝐚1 𝐚2 𝐚3 𝐚4 𝐚5
the 2nd row and 𝐚4 is the departing vector. Hence 5 is the key
number.
To get the elements of the new 1st row of the new table, we
multiply the elements of the new 2nd row by 3/2 and subtract
them from the elements of the old 1st row.
To get the elements of the new 3rd row of the new table, we
multiply the elements of the new 2nd row by 1/2 and subtract
them from the elements of the old 3rd row.
Table 3
cj 4 7 0 0 0
𝐜B B 𝐱B 𝐛 𝐚1 𝐚2 𝐚3 𝐚4 𝐚5