Special Cases:: - Unbounded Solution: - Multiple Optimal
Special Cases:: - Unbounded Solution: - Multiple Optimal
Max Z= 4x1+10x2
2x1 + x2 + s1 = 50
2x1+ 5x2 + s2 = 100
2x1+ 3x2 + s3 = 90
x1 ≥ 0 , x2 ≥ 0 , s1, ≥ 0, s2 ≥ 0 , s3 ≥ 0
• Write the problem in the standard form.
x1 ≥ 0 , x2 ≥ 0 , s1, ≥ 0, s2 ≥ 0 , s3 ≥ 0
• Now find the IBFS by putting (n-m) number of
variables zero.
Basic
xB
Ratio
C B or
Variables Solution x1 x2 s1 s2 s3
0 s1 50 2 1 1 0 0
50/1=50
100 2 0 100/5=20
0 s2 5 0 1
0 s3 90 2 3 0 0 1 90/3=30
0
Zj 0 0 0 0
Cj - Zj 0
4 10 0 0
Cj 10 0 0 0
4
Basic
xB
Ratio
C B or
Variables Solution x1 x2 s1 s2 s3
0 s1 30 8/5 0 1 -1/5 0
20 2/5 0
10 x2 1 0 1/5
0 s3 30 4/5 0 0 -3/5 1
2
Zj 4 10 0 0
Cj - Zj -2
0 0 0 0
• In maximization case all Cj –Zj values are negative or
zero. Hence the problem has optimal solution.
• Optimum values of x = 20 , x = 0 ,
2 1
Basic
xB
Ratio
C B or
Variables Solution x1 x2 s1 s2 s3
0 -1/5 0 30/8/5
s1 30 8/5 0 1
= 75/4
20 2/5 0 20/2/5=50
10 x2 1 0 1/5
30/4/5=
0 s3 30 4/5 0 0 -3/5 1 75/2
2
Zj 4 10 0 0
Cj - Zj -2
0 0 0 0
Cj 10 0 0 0
4
Basic
xB
Ratio
C B or
Variables Solution x1 x2 s1 s2 s3
0 s3 15 0 0 -1 -1/2 1
2
Zj 4 10 0 0
Cj - Zj -2
0 0 0 0
• In maximization case all Cj –Zj values are
negative or zero. Hence the problem has
optimal solution.
• Alternative solution
Min Z= x1 - x2
x1 + x2 + s1 = 1
2x1+ x2 - s2 +A1= 6
x1 ≥ 0 , x2 ≥ 0 , s1, ≥ 0, s2 ≥ 0 , A1 ≥ 0
• Write the problem in the standard form.
x1 + x2 + s1 + 0s2 + 0A1 = 1
2x1 + x2 + 0s1 - s2 + A1 = 6
x1 ≥ 0 , x2 ≥ 0 , s1, ≥ 0, s2 ≥ 0 , A1 ≥ 0
• Now find the IBFS by putting (n-m) number of
variables zero.
Basic
xB
Ratio
C B or
Variables Solution x1 x2 s1 s2 A1
0 s1 1 1 1 1 0 0
1/1=1
M 2 1 6/2=3
A1 6 1 0 -1
2M M 0 -M M
Zj
1-2M M
Cj - Zj -1-M 0 M
Cj -1 0 0 M
1
Basic
xB
Ratio
C B or
Variables Solution x1 x2 s1 s2 A1
1 x1 1 1 1 1 0 0
M 0 1
A1 4 -1 -2 -1
1 1-M 1-2M -M M
Zj
0 M
Cj - Zj -2+M 2M-1 0
• In minimization case all Cj –Zj values are
positive or zero. Hence the problem has
optimal solution.
Max Z= 2x1+2x2
Subjected to constraints
- x 1 + x2 ≤ 1
-0.5x1+ x2 ≤ 2
x1 ≥ 0 , x 2 ≥ 0
• Convert inequality constraints in to equations
by adding suitable variables.
Max Z= 2x1+2x2
-x1 + x2 + s1 = 1
-0.5x1+ x2 + s2 = 2
x1 ≥ 0 , x2 ≥ 0 , s1, ≥ 0, s2 ≥ 0 ,
• Write the problem in the standard form.
- x1 + x2 + s1 + 0s2 = 1
- 0.5x1 + x2 + 0s1 + s2 = 2
x1 ≥ 0 , x2 ≥ 0 , s1, ≥ 0, s2 ≥ 0
• Now find the IBFS by putting (n-m) number of
variables zero.
CB Basic xB Ratio
Variables
or x1 x2 s1 s2
Solution
0 1 1 0 1/1=1
s1 -1
1
0 s2 2 -1/2 1 0 1 2/1=2
Zj
0 0 0 0
Cj - Zj 0
2 2 0
Cj
2 2 0 0
CB Basic xB Ratio
Variables
or x1 x2 s1 s2
Solution
2 1 1 0 -ve
x2 -1
1
0 s2 1 1/2 0 -1 1 1/1/2=2
Zj
-2 2 2 0
Cj - Zj 0
4 0 -2
Cj
2 2 0 0
CB Basic xB Ratio
Variables
or x1 x2 s1 s2
Solution
2 0 1 -1 2
x2 3
2 x1 2 1 0 -2 2
Zj
2 2 -6 8
Cj - Zj -8
0 0 6
• In above table S column is the key
1
Max Z= 5x1+8x2
4x1 + 6x2 + s1 = 24
2x1+ x2 + s2 = 18
3x1+ 9x2 + s3 = 36
x1 ≥ 0 , x2≥ 0 , s1, ≥ 0, s2 ≥ 0 , s3 ≥ 0
• Write the problem in the standard form.
x1 ≥ 0 , x2≥ 0 , s1, ≥ 0, s2 ≥ 0 , s3 ≥ 0
• Now find the IBFS by putting (n-m) number of
variables zero.
Basic
xB Ratio
C B or
Variables Solution x1 x2 s1 s2 s3
0 0 0
s1 24 4 6 1 24/6=4
18/1=
18 2 0
0 s2 1 0 1 18
36/9=
0 s3 36 3 9 0 0 1
4
0
Zj
0
0 0 0
Cj - Zj 0
5 8 0 0
• In the above table ratio column two minimum
values are equal ( 4 and 4).
Basic
xB Ratio
C B or s2
Variables Solution x1 x2 s1 s2 s3 s1
0 24/1 24/
0 s1 24 4 6 1 0 24/6= =24 0
4
18/1
18 2 0
0 s2 1 0 1 =18
36/ 36/ 36/
0 s3 36 3 9 0 0 1
9=4 0 0
0
Zj
0
0 0 0
Cj - Zj 0
5 8 0 0
• In the above table S1 column ratio is minimum
(24).
• Hence S1 row taken as key row and continue the
procedure.
Basic
xB Ratio
C B or
Variables Solution x1 x2 s1 s2 s3
8 0 0
x2 4 2/3 1 1/6 24/6=4
-1/6 18/1=
14 4/3 0
0 s2 0 1 18
0 36/9=
0 s3 0 -3 0 -3/2 1
4
0
Zj
0
16/3 8 4/3
-4/3
Cj - Zj 0
-1/3 0 0
• In maximization case all Cj –Zj values are
negative or zero. Hence the problem has
optimal solution.
• Optimum values of x = 4 , x = 0 ,
2 1
• Z= 5x0 + 8x4 = 32