Professional Documents
Culture Documents
Solution:
Max
= 5 x1 + 7 x2 + 4 x3
Z
subject to
2 x1 + 4 x2 + 2 x3 ≤ 50
2 x1 + 3 x2 - x3 ≤ 30
x1 + 2 x2 + 2 x3 ≤ 75
and x1,x2,x3≥0;
The problem is converted to canonical form by adding slack, surplus and artificial variables
as appropiate
2 x1 + 3 x2 - x3 + S2 = 30
x1 + 2 x2 + 2 x3 + S3 = 75
and x1,x2,x3,S1,S2,S3≥0
Negative minimum Zj-Cj is -7 and its column index is 2. So, the entering variable is x2.
Minimum ratio is 10 and its row index is 2. So, the leaving basis variable is S2.
Minimum ratio is 3 and its row index is 1. So, the leaving basis variable is S1.
Minimum ratio is 18.3333 and its row index is 2. So, the leaving basis variable is x2.
∴ The pivot element is 0.6.
Max WITH=118.3333