Professional Documents
Culture Documents
Bishram
Dr. Bishram
1
Only max cases with constraints <=0
Max 50 y1 + 30 y2
ST
2y1 + 5y2 >= 48 -----1 -2y1 -5y2 <= -48
-8y1 – 5y2 <= -72 ----2
-2y1-5y2 +s1 = - 48
-8y1 – 5y2 +s2= -72
Minimization Problem
Minimize z = 4x1 + x2
ST
3x1 + x2 =3
4x1 + 3x2 >= 6
X1 + 2x2 <= 4
X1, x2 >= 0
3x1 + x2 =3
4x1 + 3x2 – s1= 6
X1 + 2x2 + s2 = 4
X1, x2, s1, s2 > = 0
2
Introducing Artificial Variables
z - 4x1 - x2 + 0s1 - MA1 - MA2 +0s2 = 0
3x1 + x2 + A1=3
4x1 + 3x2 – s1 + A2 = 6
x1 + 2x2 + s2 = 4
x1, x2, s1, s2, A1, A2 > = 0
Soluti Rati
Basic x1 x2 s1 A1 A2 s2 on o
z -4 -1 0 -M -M 0 0
Initial A1 3 1 0 1 0 0 3
A2 4 3 -1 0 1 0 6
s2 1 2 0 0 0 1 4
Minimization Continued
Consistent
-4 + -1 + z=z + MA1 +
z 7M 4M -M 0 0 0 9M MA2
A1 3 1 0 1 0 0 3 1
A2 4 3 -1 0 1 0 6 1.5
s2 1 2 0 0 0 1 4 4
3
Minimization Continued
Basic x1 x2 s1 A1 A2 s2 Solution Ratio
iteration 2
4.8-
z 0 0 0.2 3M/3 -0.2-M 0 3.6
Solutio
Basic x1 x2 s1 A1 A2 s2 n Ratio
4.6-
z 0 0 0 3M/3 0 -0.2 3.4
iteration 3
x1 1 0.000 0.000 0.400 0 -0.2 0.4
x2 0 1.000 0.000 -0.200 0 0.6 1.8
s1 0 0.000 1.000 1.000 -1 1 1
4
Another problem
Min G = 40 y1 + 24 y2
Subject to
20y1+50y2 >= 4800
80y1 + 50y2 >= 7200
y1,y2 >=0
Standard Form
G - 40 y1 - 24 y2 +MA1 + MA2 =0
Subject to
20y1+50y2 -s1+A1 = 4800
80y1 + 50y2 -S2 + A2 = 7200
y1,y2 >=0
A1 20 50 -1 0 1 0 4800
Problem A2 80 50 0 -1 0 1 7200
Initialised Table
y1 y2 s1 s2 A1 A2
Initialization
A1 20 50 -1 1 0 4800
A2 80 50 0 -1 0 1 7200
10
5
Iteration 1
Row+y2 *(24-100M)
y1 y2 s1 s2 A1 A2
y1 y2 s1 s2 A1 A2
11
y1 y2 s1 s2 A1 A2
Y1 =0
Y2 = 144
Z= 3456
12