Professional Documents
Culture Documents
Math 115-250 Module 6
Math 115-250 Module 6
Objectives : At the end of the module, the students are expected to,
1. Convert inequalities of minimization into equations; and,
2. Solve the LP problems in using minimization techniques.
x1 x2 s1 s2 s3 RHS
5 3 -1 0 0 150
2 3 0 -1 0 120
0 1 0 0 -1 20
● In the tableau, the identity matrix In is not present necessary for a canonical form.
Introduce an artificial variable for every column of the identity matrix that is missing.
Objective: Drive out all the artificial variables by making them zero.
x1 x2 s1 s2 s3 y1 y2 y3 RHS
5 3 -1 0 0 1 0 0 150
2 3 0 -1 0 0 1 0 120
0 1 0 0 -1 0 0 1 20
NEW Min xo = 20x1 + 25x2 + My1 +My2 +My3 where M is a very, very big number
which make it unattractive.
x1 x2 s1 s2 s3 y1 y2 y3 RHS
y1 5 3 -1 0 0 1 0 0 150
y2 2 3 0 -1 0 0 1 0 120
y3 0 1 0 0 -1 0 0 1 20
Min 20 25 0 0 0 M M M -(150M+120M+20M)=-290M
● But FCF is violated because the objective function has y1, y2, y3 which are basic.
Substitute out basic variables…
Min xo = 20x1 + 25x2 + M(150 - 5x1 – 3x2 + s1) + M(120 – 2 x1 – 3 x2 +s2) + M(20 – x2 + s3) + 290M
Min xo = (20 – 7M)x1 + (25 – 7M)x2 + Ms1 + Ms2 + Ms3 + 290M
● Now acceptable because the artificial variables are already eliminated from the
objective function.
Table 2
leaves enters discard
x1 x2 s1 s2 s3 y2 y3 RHS
x1 1 3/5 -1/5 0 0 0 0 30
y2 0 9/5 2/3 -1 0 1 0 60
y3 0 1 0 0 -1 0 1 20
65−4M 20−2M
Min 0 5 5
M M 0 0 - 600 - 80M
Table 3
Leaves enters discard
x1 x2 s1 s2 s3 y2 RHS
x1 1 0 -1/5 0 3/5 0 18
y2 0 0 2/5 -1 9/5 1 24
x2 0 1 0 0 -1 0 20
20−2M 65−9𝑀
Min 0 0 M 0 - 860 - 24M
5 5
Table 4
x1 x2 s1 s2 s3 RHS
x1 1 0 -1/3 1/3 0 18
s3 0 0 2/9 -5/9 1 31/3
x2 0 1 - 2/15 1/3 0 100/3
10 65 1033
Min 0 0 9 9
0 - 3
𝟏𝟎𝟎 𝟔𝟓 𝟏𝟎𝟑𝟑
optimal! Conclusion: (18, 𝟑 , 0, 0, 𝟗 ) with min xo = 𝟑
● If after elimination the tableau is not yet optimal, continue using simplex method till you
got a solution. This is also applicable for maximization using same rules and process.
● ≥ and = are occasionally used in constraints in the maximization process but are more
common in minimization problems.
For ≥, simply subtract a slack variable, S, but add an artificial variable A to avoid a
negative value if other variables become 0.
For =, add an artificial variable A to avoid falsity in equation once the rest of the
variables become 0.
Cj 60 50 0 0 100
Prod Qty x y S1 S2 A1
50 y 3/2 0 1 1/2 3/8 -3/8
60 x 5/2 1 0 -1/2 -5/8 5/8
Zj 225 60 50 -5 -75/4 75/4
Cj - Zj 0 0 5 75/4 325/4
Since there is no more negative values in the Cj –Zj row, the solution is optimum.
Conclusion: x = 5/2 s1 = 0 Min Cost = 225
y = 3/2 s2 = 0