Module 3 Sensitivity Analysis
Module 3 Sensitivity Analysis
Cj - Zj 4 3 5 0 0 Zmax=0
Cj 4 3 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
C2 – Z2 = C2 – (1 + 28/5) = C2 – 33/5 ≤ 0
or, C2 ≤ 33/5 for optimal solution. So, we should take C2 > 33/5
or 6.6
Cj 4 C2 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 6/5
4 X1 1 7/5 0 -1/5 3/5 27/5
Cj - Zj 0 C2 – 33/5 0 -6/5 -7/5 Zmax=138/5
So we consider value of C2 as 7.
Cj 4 7 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 6/5 6
4 X1 1 7/5 0 -1/5 3/5 27/5 27/7
Cj - Zj 0 2/5 0 -6/5 -7/5
Cj 4 7 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 -1/7 0 1 3/7 -2/7 3/7
7 X2 5/7 1 0 -1/7 3/7 27/7
Cj - Zj -2/7 0 0 -8/7 -11/7 Zmax=204/7
With C2 = 3; Zmax=138/5
With C2 = 7; Zmax=204/7
Cj C1 3 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 6/5
C1 X1 1 7/5 0 -1/5 3/5 27/5
Cj - Zj 0 -18/5 0 -6/5 -7/5
C2 – Z2 C4 – Z4 C5 – Z5
C2 – Z2 = 3 – (1 + 7 C1/5) = 2 - 7 C1/5 ≤ 0 or C1 ≥ 10/7
C4 – Z4 = 0 – (2 – C1/5) = C1 /5 – 2 ≤ 0 or C1 ≤ 10
C5 – Z5 = 0 – (-1 + 3C1/5) = 1 – 3C1/5 ≤ 0 or C1 ≥ 5/3
Therefore, optimal condition will not be violated for
10/7 ≤ C1 ≤ 10
So, Let C1=12, which will make S1 having positive value of Cj-Zj.
Cj 12 3 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 6/5
12 X1 1 7/5 0 -1/5 3/5 27/5
New New New
Cj - Zj 0 0
Value Value Value
C2 – Z2 C4 – Z4 C5 – Z5
Cj 4 3 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 68/5
4 X1 1 7/5 0 -1/5 3/5 -4/5
Cj - Z j 0 -18/5 0 -6/5 -7/5
Ratio - 6 -
So Outgoing variable is X1and incoming variable is S1.
Solution is X3=12, S1=4, and Zmax =48.
Case 4: Change in constraint coefficient – non-
basic variable
Maximize Z = 4 X 1 + 3 X 2 + 5 X 3
s.t.
X1 + 2 X 2 + 3 X 3 9
2 X 1 + 3 X 2 + X 3 12
X1, X 2 , X 3 0
Cj 4 3 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
Cj 4 3 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 6/5
4 X1 1 7/5 0 -1/5 3/5 27/5
C -Z 0 -18/5 0 -6/5 -7/5 138/5
The original problem has 3 variables. Let suppose a new product has been
introduced/added. The product added is X4 and its coefficients in objective
function is 6 and value of P is 1 & 3 respectively.
1
i.e. C4=6 and P4 =
3
Maximize Z = 4 X 1 + 3 X 2 + 5 X 3 + 6 X 4
s.t.
X1 + 2 X 2 + 3 X 3 + X 4 9
2 X 1 + 3 X 2 + X 3 + 3 X 4 12
X1, X 2 , X 3 , X 4 0
Cj 4 3 5 6 0 0
CB
BV X1 X2 X3 X4 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 6/5
4 X1 1 7/5 0 -1/5 3/5 27/5
Cj - Zj 0 -18/5 0 -6/5 -7/5 138/5
Cj 4 3 5 6 0 0
CB
BV X1 X2 X3 X4 S1 S2 Solution Ratio
5 X3 0 1/5 1 -1/5 2/5 -1/5 6/5 -
4 X1 1 7/5 0 8/5 -1/5 3/5 27/5 27/5
Cj - Zj 0 -18/5 0 3/5 -6/5 -7/5 138/5
Cj 4 3 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 6/5
4 X1 1 7/5 0 -1/5 3/5 27/5
Cj - Zj 0 -18/5 0 -6/5 -7/5 138/5
Maximize Z = 4 X 1 + 3 X 2 + 5 X 3
s.t.
X1 + 2 X 2 + 3 X 3 9
2 X 1 + 3 X 2 + X 3 12
X1 + X 2 + X 3 8
X1, X 2 , X 3 0
In this condition, if we see the optimal solution obtained when X1=27/5 and X3=6/5
So we don’t need to evaluate further for this addition of constraint, it will not have
impact on optimal solution and it will not provide us better optimal solution.
Maximize Z = 4 X 1 + 3 X 2 + 5 X 3
s.t.
X1 + 2 X 2 + 3 X 3 9
2 X 1 + 3 X 2 + X 3 12
X1 + X 2 + X 3 6
X1, X 2 , X 3 0
In this condition, if we see the optimal solution obtained when X1=27/5 and X3=6/5
So we need to evaluate further for this addition of constraint, as it will have impact
on optimal solution.
Cj 4 3 5 0 0
CB
BV X1 X2 X3 S1 S2 Solution Ratio
5 X3 0 1/5 1 2/5 -1/5 6/5
4 X1 1 7/5 0 -1/5 3/5 27/5
Cj - Zj 0 -18/5 0 -6/5 -7/5 138/5