SlideShare a Scribd company logo
1 of 21
Download to read offline
ADVANCED
OPERATIONS
RESEARCH
By: -
Hakeem–Ur–Rehman
IQTM–PU 1
RA O
LINEAR PROGRAMMING : SENSITIVITY ANALYSIS
LINEAR PROGRAMMING:
SENSITIVITY ANALYSIS
2
The term sensitivity analysis, sometimes also called
post-optimality analysis, refers to an analysis of the
effect on the optimal solution of changes in the
parameters of problem on the current optimal solution.
The following questions arise in connection with performing the
sensitivity analysis.
1. How do changes made to the coefficients of the objective
function affect the optimal solution?
2. How do changes made to the constants on the right hand
side of the constraint affect the optimal solution?
EXAMPLE
3
XYZ manufacturing company has a division that produces two models of
grates, model–A and model–B. To produce each model–A grate requires ‘3’ g.
of cast iron and ‘6’ minutes of labor. To produce each model–B grate requires
‘4’ g. of cast iron and ‘3’ minutes of labor. The profit for each model–A grate
is Rs.2 and the profit for each model–B grate is Rs.1.50. One thousand g. of
cast iron and 20 hours of labor are available for grate production each day.
Because of an excess inventory of model–A grates, Company’s manager has
decided to limit the production of model–A grates to no more than 180 grates
per day.
Solve the given LP problem and perform sensitivity analysis.
LP MODEL: Let X1 and X2 be the number of model–A and model–B
grates respectively.
The complete LP model is as follow:
Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2
Subject to:
3X1 + 4X2 ≤ 1000
6X1 + 3X2 ≤ 1200
X1 ≤ 180
X1, X2 ≥ 0
EXAMPLE (Cont…)
4
Contribution Per Unit Cj 2 3/2 0 0 0
CBi
Basic
Variables (B)
Quantity
(Qty)
X1 X2 S1 S2 S3
0 S1 1000 3 4 1 0 0
0 S2 1200 6 3 0 1 0
0 S3 180 1 0 0 0 1
Total Profit (Zj) 0 0 0 0 0 0
Net Contribution (Cj – Zj) 2 3/2 0 0 0
0 S1 460 0 4 1 0 –3
0 S2 120 0 3 0 1 –6
2 X1 180 1 0 0 0 1
Total Profit (Zj) 360 2 0 0 0 2
Net Contribution (Cj – Zj) 0 3/2 0 0 –2
0 S1 300 0 0 1 –4/3 5
3/2 X2 40 0 1 0 1/3 –2
2 X1 180 1 0 0 0 1
Total Profit (Zj) 420 2 3/2 0 1/2 –1
Net Contribution (Cj – Zj) 0 0 0 –1/2 1
0 S3 60 0 0 1/5 –4/15 1
3/2 X2 160 0 1 2/5 –1/5 0
2 X1 120 1 0 –1/5 4/15 0
Total Profit (Zj) 480 2 3/2 1/5 7/30 0
Net Contribution (Cj – Zj) 0 0 –1/5 –7/30 0
Since all the values of (Cj – Zj) ≤ 0; so,
the solution is optimal.
‘Z = 480; at ‘X1=120’ and ‘X2=160’. Thus, XYZ manufacturing
company realizes a maximum profit of Rs.480 per day by
producing 120 model–A grates and 160 model–B grates per day.
LP:SENSITIVITY ANALYSIS
5
The following questions arise in connection with performing the
sensitivity analysis of the above problem.
1. How do changes made to the coefficients of the objective
function affect the optimal solution?
2. How do changes made to the constants on the right hand
side of the constraint affect the optimal solution?
CHANGE IN THE COEFFICIENTS OF THE OBJECTIVE
FUNCTION:
Now two questions are to be answered:
1. How do changes made to the coefficients of non–basic
variable affect the optimal solution?
2. How do changes made to the coefficients of basic variable
affect the optimal solution?
LP:SENSITIVITY ANALYSIS (Cont…)
6
 How do changes made to the coefficients of non–basic
variable affect the optimal solution?
 According to the above optimal simplex table, S1, & S2 are
the non–basic variables.
 Now the question arises that how much have the
objective function coefficients to be changed before S1,
& S2 would enter the solution and replaces one of the
basic variables (X1, X2 & S3)?
 According to the simplex algorithm as long as the row
(Cj – Zj) ≤ 0, there will not be any change in the
optimal solution. Thus, Cj – Zj ≤ 0  Cj ≤ Zj
Range for a non–basic variable:
The range of ‘Cj’ values for non–basic variables are: “–∞ ≤ Cj ≤ Zj”. So,
The range of values for ‘S1’ is: “–∞ ≤ Cj ≤ 1/5”
The range of values for ‘S2’ is: “–∞ ≤ Cj ≤ 7/30”
LP:SENSITIVITY ANALYSIS (Cont…)
 How do changes made to the coefficients of basic variable affect the optimal
solution?
 According to the above optimal simplex table, X1, X2 & S3 are the basic variables.
 Now the question arises that how much the objective function coefficient on a basic
variable can change without changing the optimal solution of an LP problem.
Change in the Coefficient of the Basic Variable ‘X1’:
Let us denote the change in a variable value by ‘h’. The change in ‘X1’ is ‘2+h’. Now, we re–
compute the new final simplex table which is as follows:
Contribution Per Unit Cj 2+h 3/2 0 0 0
CBi
Basic Variables
(B)
Quantity
(Qty)
X1 X2 S1 S2 S3
0 S3 60 0 0 1/5 –4/15 1
3/2 X2 160 0 1 2/5 –1/5 0
2+h X1 120 1 0 –1/5 4/15 0
Total Profit (Zj) 480+120h 2+h 3/2 (1–h)/5 (7+8h)/30 0
Net Contribution (Cj – Zj) 0 0 – (1–h)/5 – (7+8h)/30 0
Since all the values in the (Cj – Zj ) ≤ 0, so the solution is optimal. The optimal solution will change if at least
one of (Cj – Zj ) > 0. We will find the value of ‘h’ for which the new solution remains optimal. In order to do
this, we evaluate ‘h’ in each column for the non–basic variables.
From ‘S1’ Column: (Cj – Zj ) ≤ 0  – (1–h)/5 ≤ 0  h ≤ 1
It means that ‘S1’ will not enter the basis unless the profit per unit for ‘X1’ will increase to ‘2+h
=2 +1 = 3’; if it goes above, the solution will not remain optimal.
From ‘S2’ Column: (Cj – Zj ) ≤ 0  – (7+8h)/30≤ 0  h ≥ –(7/8)
It means that ‘S2’ will not enter the basis unless the profit per unit for ‘X1’ will reduce to ‘2+h
=2 – (7/8) = 9/8’; if it goes below, the solution will not remain optimal.
LP:SENSITIVITY ANALYSIS (Cont…)
8
 How do changes made to the coefficients of basic variable affect
the optimal solution?
Range of Optimality for ‘X1’:
Here, the value of ‘C1’ ranges from ‘(9/8) to 3’ (i.e. 1.125 ≤ C1 ≤ 3). In this interval of ‘C1’, the
optimality is unaffected. So, we conclude that the contribution to the profit of a model–A grate can
assume values between Rs.1.125 and Rs.3 without changing the optimal solution.
Change in the Coefficient of the Basic Variable ‘X2’:
Let us denote the change in a variable value by ‘k’. The change in ‘X2’ is ‘(3/2)+k’. Now, we re–
compute the new final simplex table which is as follows:
Contribution Per Unit Cj 2 (3/2)+k 0 0 0
CBi
Basic Variables
(B)
Quantity
(Qty)
X1 X2 S1 S2 S3
0 S3 60 0 0 1/5 –4/15 1
(3/2)+k X2 160 0 1 2/5 –1/5 0
2 X1 120 1 0 –1/5 4/15 0
Total Profit (Zj) 480+160k 2 (3/2)+k (1+2k)/5 (7–6k)/30 0
Net Contribution (Cj – Zj) 0 0 – (1+2k)/5 – (7–6k)/30 0
Since all the values in the (Cj – Zj ) ≤ 0, so the solution is optimal. The optimal solution will
change if at least one of (Cj – Zj ) > 0. We will find the value of ‘k’ for which the new solution
remains optimal. In order to do this, we evaluate ‘k’ in each column for the non–basic variables.
LP:SENSITIVITY ANALYSIS (Cont…)
9
 How do changes made to the coefficients of basic variable affect
the optimal solution?
From ‘S1’ Column: (Cj – Zj ) ≤ 0  –(1+2k)/5 ≤ 0  k ≥ (–1/2)
It means that ‘S1’ will not enter the basis unless the profit per unit for ‘X2’ will decrease to
‘(3/2)+k =(3/2)–(1/2)= 1’; if it goes below, the solution will not remain optimal.
From ‘S2’ Column: (Cj – Zj ) ≤ 0  – (7–6k)/30 ≤ 0  k ≤ 7/6
It means that ‘S2’ will not enter the basis unless the profit per unit for ‘X2’ will increase to
‘(3/2)+k =(3/2) + (7/6)= 15/6’; if it goes above, the solution will not remain optimal.
Range of Optimality for ‘X2’:
Here, the value of ‘C2’ ranges from ‘1 to 15/6’ (i.e. 1 ≤ C2 ≤ 2.5). In this interval of ‘C2’, the
optimality is unaffected. So, we conclude that the contribution to the profit of a model–B
grate can assume values between Rs.1 and Rs.2.5 without changing the optimal solution.
LP:SENSITIVITY ANALYSIS (Cont…)
10
 How do changes made to the coefficients of basic variable affect
the optimal solution?
Change in the Coefficient of the Basic Variable ‘S3’:
Let us denote the change in a variable value by ‘L’. The change in ‘S3’ is ‘0+L’. Now, we re–
compute the new final simplex table which is as follows:
Contribution Per Unit Cj 2 3/2 0 0 0+L
CBi
Basic Variables
(B)
Quantity
(Qty)
X1 X2 S1 S2 S3
0+L S3 60 0 0 1/5 –4/15 1
3/2 X2 160 0 1 2/5 –1/5 0
2 X1 120 1 0 –1/5 4/15 0
Total Profit (Zj) 480+60L 2 3/2 (1+L)/5 (7–8L)/30 0+L
Net Contribution (Cj – Zj) 0 0 – (1+L)/5 – (7–8L)/30 0
Since all the values in the (Cj – Zj ) ≤ 0, so the solution is optimal. The optimal solution will
change if at least one of (Cj – Zj ) > 0. We will find the value of ‘L’ for which the new solution
remains optimal. In order to do this, we evaluate ‘L’ in each column for the non–basic variables.
LP:SENSITIVITY ANALYSIS (Cont…)
11
 How do changes made to the coefficients of basic variable affect
the optimal solution?
From ‘S1’ Column: (Cj – Zj ) ≤ 0  –(1+L)/5 ≤ 0  L ≥ –1
It means that ‘S1’ will not enter the basis unless the profit per unit for ‘S3’ will decrease to ‘0+L
=0–1= –1’; if it goes below, the solution will not remain optimal.
From ‘S2’ Column: (Cj – Zj ) ≤ 0  – (7–8L)/30 ≤ 0  L ≤ 7/8
It means that ‘S2’ will not enter the basis unless the profit per unit for ‘S3’ will increase to ‘0+L =
0 + (7/8)= 7/8’; if it goes above, the solution will not remain optimal.
Range of Optimality for ‘S3’:
Here, the value of ‘C5’ ranges from ‘–1 to 7/8’ (i.e. –1 ≤ C5 ≤ 0.875). In this
interval of ‘C5’, the optimality is unaffected
LP:SENSITIVITY ANALYSIS (Cont…)
12
 Change to the Constants on the Right–Hand side of the Constraint
Inequalities:
The LP problem is:
Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2
Subject to:
3X1 + 4X2 ≤ 1000
6X1 + 3X2 ≤ 1200
X1 ≤ 180
X1, X2 ≥ 0
Contribution Per Unit Cj 2 3/2 0 0 0
CBi
Basic Variables
(B)
Quantity
(Qty)
X1 X2 S1 S2 S3
0 S1 1000 +1h 3 4 1 0 0
0 S2 1200 + 0h 6 3 0 1 0
0 S3 180 + 0h 1 0 0 0 1
Total Profit (Zj) 0 0 0 0 0 0
Net Contribution (Cj – Zj) 2 3/2 0 0 0
Analyzing the 1st Constraint: Now, consider
an ‘h’ increase in the right–hand side of the first
constraint then the LP model constraints
become:
3X1 + 4X2 ≤ 1000 + 1h
6X1 + 3X2 ≤ 1200 + 0h
X1 ≤ 180 + 0h
Contribution Per Unit Cj 2 3/2 0 0 0
CBi Basic Variables (B)
Quantity
(Qty)
X1 X2 S1 S2 S3
0 S3 60+(h/5) 0 0 1/5 –4/15 1
3/2 X2 160+(2h/5) 0 1 2/5 –1/5 0
2 X1 120–(h/5) 1 0 –1/5 4/15 0
Total Profit (Zj) 480+(h/5) 2 3/2 1/5 7/30 0
Net Contribution (Cj – Zj) 0 0 – 1/5 – 7/30 0
LP:SENSITIVITY ANALYSIS (Cont…)
13
 Change to the Constants on the Right–Hand side of the Constraint
Inequalities:
Remember that as the requirement of the simplex method is that the values in the quantity
column not be negative. If any value in the quantity column becomes negative then the current
solution will no longer be feasible and a new variable will enter the solution.
Thus, the inequalities: 60+(h/5) ≥ 0, 160+(2h/5) ≥ 0 & 120–(h/5) ≥ 0 ; are solved for ‘h’:
 60+(h/5) ≥ 0  (h/5) ≥ (–60)  h ≥ –300;
 160+(2h/5) ≥ 0  (2h/5) ≥ –160  h ≥ –400;
 120–(h/5) ≥ 0  –(h/5) ≥ –120  h ≤ 600.
We will get: h ≥ –300, h ≥ –400 & h ≤ 600
Since: b1 = 1000 + h then h = b1 – 1000;
The value ‘h = b1 – 1000’ is put into the inequalities h ≥ –300, h ≥ –400 & h ≤ 600
as follows:
h ≥ –300
b1 – 1000 ≥ –300
b1 ≥ –300+1000
b1 ≥ 700
h ≥ –400
b1 – 1000 ≥ –400
b1 ≥ –400+1000
b1 ≥ 600
h ≤ 600
b1 – 1000 ≤ 600
b1 ≤ 600+1000
b1 ≤ 1600
Thus, the range of ‘b1’ is: 600 ≤ b1 ≤ 1600. Under these conditions, XYZ
Manufacturing Company should produce ‘120–(h/5)’ model–A grates and
‘160+(2h/5)’ model–B grates.
LP:SENSITIVITY ANALYSIS (Cont…)
14
 Change to the Constants on the Right–Hand side of the Constraint
Inequalities:
The LP problem is:
Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2
Subject to:
3X1 + 4X2 ≤ 1000
6X1 + 3X2 ≤ 1200
X1 ≤ 180
X1, X2 ≥ 0
Analyzing the 2nd Constraint:
Now, consider a ‘k’ increase in the right–hand
side of the first constraint then the LP model
constraints become:
3X1 + 4X2 ≤ 1000 + 0k
6X1 + 3X2 ≤ 1200 + 1k
X1 ≤ 180 + 0k
Contribution Per Unit Cj 2 3/2 0 0 0
CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3
0 S1 1000 +0k 3 4 1 0 0
0 S2 1200 + 1k 6 3 0 1 0
0 S3 180 + 0k 1 0 0 0 1
Total Profit (Zj) 0 0 0 0 0 0
Net Contribution (Cj – Zj) 2 3/2 0 0 0
Contribution Per Unit Cj 2 3/2 0 0 0
CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3
0 S3 60–(4k/15) 0 0 1/5 –4/15 1
3/2 X2 160–(k/5) 0 1 2/5 –1/5 0
2 X1 120+(4k/15) 1 0 –1/5 4/15 0
Total Profit (Zj) 480+(7k/30) 2 3/2 1/5 7/30 0
Net Contribution (Cj – Zj) 0 0 – 1/5 – 7/30 0
LP:SENSITIVITY ANALYSIS (Cont…)
15
 Change to the Constants on the Right–Hand side of the Constraint
Inequalities:
Remember that as the requirement of the simplex method is that the values in the quantity
column not be negative. If any value in the quantity column becomes negative then the current
solution will no longer be feasible and a new variable will enter the solution.
Thus, the inequalities: 60–(4k/15) ≥ 0, 160–(k/5) ≥ 0 & 120+(4k/15) ≥ 0; are solved for ‘k’:
 60 – (4k/15) ≥ 0  –(4k/15) ≥ –60  k ≤ 225,
 160–(k/5) ≥ 0  –(k/5) ≥ –160 k ≤ 800 &
 120+(4k/15) ≥ 0  (4k/15) ≥ –120  k ≥ –450
We will get: k ≤ 225, k ≤ 800 & k ≥ –450.
Since: b2 = 1200 + k then k = b2 – 1200;
The value ‘k = b2 – 1200’ is put into the inequalities k ≤ 225, k ≤ 800 & k ≥ –450 as
follows:
Thus, the range of ‘b2’ is: 750 ≤ b2 ≤ 2000. Under these conditions, XYZ
Company should produce ‘120+(4k/15)’ model–A grates and ‘160–(k/5)’ model–B
grates.
k ≤ 225
b2 – 1200 ≤ 225
b2 ≤ 225+1200
b2 ≤ 1425
k ≤ 800
b2 – 1200 ≤ 800
b2 ≤ 800+1200
b2 ≤ 2000
k ≥ –450
b2 – 1200 ≥ –450
b2 ≥ –450+1200
b2 ≥ 750
LP:SENSITIVITY ANALYSIS (Cont…)
16
 Change to the Constants on the Right–Hand side of the Constraint
Inequalities:
The LP problem is:
Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2
Subject to:
3X1 + 4X2 ≤ 1000
6X1 + 3X2 ≤ 1200
X1 ≤ 180
X1, X2 ≥ 0
Analyzing the 3rd Constraint:
Now, consider an ‘L’ increase in the right–hand
side of the first constraint then the LP model
constraints become:
3X1 + 4X2 ≤ 1000 + 0L
6X1 + 3X2 ≤ 1200 + 0L
X1 ≤ 180 + 1L
Contribution Per Unit Cj 2 3/2 0 0 0
CBi
Basic Variables
(B)
Quantity
(Qty)
X1 X2 S1 S2 S3
0 S1 1000 + 0L 3 4 1 0 0
0 S2 1200 + 0L 6 3 0 1 0
0 S3 180 + 1L 1 0 0 0 1
Total Profit (Zj) 0 0 0 0 0 0
Net Contribution (Cj – Zj) 2 3/2 0 0 0
Contribution Per Unit Cj 2 3/2 0 0 0
CBi Basic Variables (B)
Quantity
(Qty)
X1 X2 S1 S2 S3
0 S3 60+L 0 0 1/5 –4/15 1
3/2 X2 160 0 1 2/5 –1/5 0
2 X1 120 1 0 –1/5 4/15 0
Total Profit (Zj) 480 2 3/2 1/5 7/30 0
Net Contribution (Cj – Zj) 0 0 – 1/5 – 7/30 0
LP:SENSITIVITY ANALYSIS (Cont…)
17
 Change to the Constants on the Right–Hand side of the Constraint
Inequalities:
Remember that as the requirement of the simplex method is that the values in the quantity
column not be negative. If any value in the quantity column becomes negative then the current
solution will no longer be feasible and a new variable will enter the solution.
Thus, the inequalities: 60+L ≥ 0, 160 ≥ 0 & 120 ≥ 0; are solved for ‘L’: 60+L ≥ 0 
L ≥ –60.
We will get: L ≥ –60.
Since: b3 = 180 + L then L = b3 – 180;
The value ‘L = b3 – 1200’ is put into the inequality L ≥ –60 as follows:
L ≥ –60  b3 – 180 ≥ –60  b3 ≥ –60+180  b3 ≥ 120
Thus, the range of ‘b3’ is: 120 ≤ b3 ≤ ∞.
LP:SENSITIVITY ANALYSIS (Cont…)
18
 Shadow Prices:
Shadow Price for 1st Resource:
As we showed earlier that if the right hand side of constraint–1 is increased
by ‘h’ units then the optimal solution is: X1 = 120–(h/5) & X2 = 160+(2h/5).
The resulting profit is calculated as follows:
Z = 2X1 + 1.5X2 = 2X1 + (3/2) X2
Z = (2) [120–(h/5)] + (3/2)[160+(2h/5)]
Z = (480+h/5)
Now, let ‘h=1’, we find that Z = (480+(1/5))= 480.20.
As we know that the optimal value of the objective function of the original
problem is Rs.480.20, so the shadow price for the 1st resource is 480.20–480
= Rs. 0.20.
LP:SENSITIVITY ANALYSIS (Cont…)
19
 Shadow Prices:
Shadow Price for 2nd Resource:
As we showed earlier that if the right hand side of constraint–2 is increased
by ‘k’ units then the optimal solution is: X1 = ‘120+(4k/15)’ & X2 = ‘160–
(k/5)’. The resulting profit is calculated as follows:
Z = 2X1 + 1.5X2 = 2X1 + (3/2) X2
Z = (2)[ 120+(4k/15)] +(3/2)[ 160–(k/5)]
Z = 480+(7k/30)
Now, let ‘k=1’, we find that Z = [480+(7(1)/30]= 480.23.
As we know that the optimal value of the objective function of the original
problem is Rs.480, so the shadow price for the 2nd resource is 480.23–480 =
Rs.0.23.
LP:SENSITIVITY ANALYSIS (Cont…)
20
 Shadow Prices:
Shadow Price for 3rd Resource:
As we showed earlier that if the right hand side of constraint–3 is increased
by ‘L’ units then the optimal solution is: X1 = ‘120’ & X2 = ‘160’.
The resulting profit is calculated as follows:
Z = 2X1 + 1.5X2 = 2X1 + (3/2) X2
Z = (2)[120] +(3/2)[160]
Z = 480
The shadow price for this resource is ‘Zero’.
There is a surplus (i.e., excess) of this resource. Due to the excess of this
resource constraint “X1 ≤ 180” is not binding on the optimal solution (X1=120
& X2=160).
While, Constraint–1 and Constraint–2, which hold with equality at the optimal
solution (X1=120 & X2=160), are said to be binding constraints. The objective
function cannot be increased without increasing these resources. They have
positive shadow prices.
QUESTIONS
21

More Related Content

What's hot

Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
Joseph Konnully
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
Dronak Sahu
 
99700905 cost-of-capital-solved-problems
99700905 cost-of-capital-solved-problems99700905 cost-of-capital-solved-problems
99700905 cost-of-capital-solved-problems
varsha nihanth lade
 

What's hot (20)

Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
graphical method
graphical method graphical method
graphical method
 
Goal Programming
Goal ProgrammingGoal Programming
Goal Programming
 
Minimization model by simplex method
Minimization model by simplex methodMinimization model by simplex method
Minimization model by simplex method
 
Integer programming
Integer programmingInteger programming
Integer programming
 
Post-optimal analysis of LPP
Post-optimal analysis of LPPPost-optimal analysis of LPP
Post-optimal analysis of LPP
 
5. transportation problems
5. transportation problems5. transportation problems
5. transportation problems
 
Learning Curve Sample Problem
Learning Curve Sample ProblemLearning Curve Sample Problem
Learning Curve Sample Problem
 
Assignment Chapter - Q & A Compilation by Niraj Thapa
Assignment Chapter  - Q & A Compilation by Niraj ThapaAssignment Chapter  - Q & A Compilation by Niraj Thapa
Assignment Chapter - Q & A Compilation by Niraj Thapa
 
Simplex method
Simplex methodSimplex method
Simplex method
 
LEAST COST METHOD
LEAST COST METHOD LEAST COST METHOD
LEAST COST METHOD
 
Operation research and its application
Operation research and its applicationOperation research and its application
Operation research and its application
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
Simplex method: Slack, Surplus & Artificial variable
Simplex method:  Slack, Surplus & Artificial variableSimplex method:  Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variable
 
unbalanced transportation problem
unbalanced transportation problemunbalanced transportation problem
unbalanced transportation problem
 
99700905 cost-of-capital-solved-problems
99700905 cost-of-capital-solved-problems99700905 cost-of-capital-solved-problems
99700905 cost-of-capital-solved-problems
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Transportation Problem
Transportation ProblemTransportation Problem
Transportation Problem
 
Game theory
Game theoryGame theory
Game theory
 

Similar to 3. linear programming senstivity analysis

Duel simplex method_operations research .pptx
Duel simplex method_operations research .pptxDuel simplex method_operations research .pptx
Duel simplex method_operations research .pptx
Raja Manyam
 
Economic interpretation of duality, shadow price and the complementary slackn...
Economic interpretation of duality, shadow price and the complementary slackn...Economic interpretation of duality, shadow price and the complementary slackn...
Economic interpretation of duality, shadow price and the complementary slackn...
Preety Rateria
 
Economicinterpretation 130723042249-phpapp01
Economicinterpretation 130723042249-phpapp01Economicinterpretation 130723042249-phpapp01
Economicinterpretation 130723042249-phpapp01
kongara
 

Similar to 3. linear programming senstivity analysis (20)

Linear programming
Linear programmingLinear programming
Linear programming
 
Duel simplex method_operations research .pptx
Duel simplex method_operations research .pptxDuel simplex method_operations research .pptx
Duel simplex method_operations research .pptx
 
Lp model, simplex method
Lp model, simplex method   Lp model, simplex method
Lp model, simplex method
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
Economic interpretation of duality, shadow price and the complementary slackn...
Economic interpretation of duality, shadow price and the complementary slackn...Economic interpretation of duality, shadow price and the complementary slackn...
Economic interpretation of duality, shadow price and the complementary slackn...
 
Chapter four
Chapter fourChapter four
Chapter four
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Economicinterpretation 130723042249-phpapp01
Economicinterpretation 130723042249-phpapp01Economicinterpretation 130723042249-phpapp01
Economicinterpretation 130723042249-phpapp01
 
Mb 106 quantitative techniques 5
Mb 106 quantitative techniques 5Mb 106 quantitative techniques 5
Mb 106 quantitative techniques 5
 
Simplex part 2 of 4
Simplex part 2 of 4Simplex part 2 of 4
Simplex part 2 of 4
 
Artificial variable technique big m method (1)
Artificial variable technique big m method (1)Artificial variable technique big m method (1)
Artificial variable technique big m method (1)
 
Chapter07.pdf
Chapter07.pdfChapter07.pdf
Chapter07.pdf
 
aaoczc2252
aaoczc2252aaoczc2252
aaoczc2252
 
MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
 
lecture 5 courseII (6).pptx
lecture 5 courseII (6).pptxlecture 5 courseII (6).pptx
lecture 5 courseII (6).pptx
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Xx
XxXx
Xx
 
Simplex Meathod
Simplex MeathodSimplex Meathod
Simplex Meathod
 
Simplex
SimplexSimplex
Simplex
 

More from Hakeem-Ur- Rehman

1.introduction to quality & total quality management
1.introduction to quality & total quality management1.introduction to quality & total quality management
1.introduction to quality & total quality management
Hakeem-Ur- Rehman
 
(Ntu talk) lean six sigma & scholarship info.
(Ntu talk) lean six sigma & scholarship info.(Ntu talk) lean six sigma & scholarship info.
(Ntu talk) lean six sigma & scholarship info.
Hakeem-Ur- Rehman
 
Application of or for industrial engineers
Application of or for industrial engineersApplication of or for industrial engineers
Application of or for industrial engineers
Hakeem-Ur- Rehman
 
Production planning & control (PPC)
Production planning & control (PPC)Production planning & control (PPC)
Production planning & control (PPC)
Hakeem-Ur- Rehman
 

More from Hakeem-Ur- Rehman (20)

PM using P6
PM using P6PM using P6
PM using P6
 
Qfd house of quality
Qfd house of qualityQfd house of quality
Qfd house of quality
 
7. cqia (kaizen, 5 s, tpm)
7. cqia (kaizen, 5 s, tpm)7. cqia (kaizen, 5 s, tpm)
7. cqia (kaizen, 5 s, tpm)
 
2. cost of quality
2. cost of quality2. cost of quality
2. cost of quality
 
1.introduction to quality & total quality management
1.introduction to quality & total quality management1.introduction to quality & total quality management
1.introduction to quality & total quality management
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Ilp modeling with excel
Ilp modeling with excelIlp modeling with excel
Ilp modeling with excel
 
Network analysis
Network analysisNetwork analysis
Network analysis
 
6. assignment problems
6. assignment problems6. assignment problems
6. assignment problems
 
5. advance topics in lp
5. advance topics in lp5. advance topics in lp
5. advance topics in lp
 
Into to simulation
Into to simulationInto to simulation
Into to simulation
 
Mendeley (new)
Mendeley (new)Mendeley (new)
Mendeley (new)
 
DEA
DEADEA
DEA
 
(Ntu talk) lean six sigma & scholarship info.
(Ntu talk) lean six sigma & scholarship info.(Ntu talk) lean six sigma & scholarship info.
(Ntu talk) lean six sigma & scholarship info.
 
Application of or for industrial engineers
Application of or for industrial engineersApplication of or for industrial engineers
Application of or for industrial engineers
 
Lean six sigma (green belt)new
Lean six sigma (green belt)newLean six sigma (green belt)new
Lean six sigma (green belt)new
 
Process improvement techniques
Process improvement techniquesProcess improvement techniques
Process improvement techniques
 
Production planning & control (PPC)
Production planning & control (PPC)Production planning & control (PPC)
Production planning & control (PPC)
 
4. linear programming using excel solver
4. linear programming using excel solver4. linear programming using excel solver
4. linear programming using excel solver
 
1. intro. to or & lp
1. intro. to or & lp1. intro. to or & lp
1. intro. to or & lp
 

Recently uploaded

Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 

Recently uploaded (20)

COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 

3. linear programming senstivity analysis

  • 2. LINEAR PROGRAMMING: SENSITIVITY ANALYSIS 2 The term sensitivity analysis, sometimes also called post-optimality analysis, refers to an analysis of the effect on the optimal solution of changes in the parameters of problem on the current optimal solution. The following questions arise in connection with performing the sensitivity analysis. 1. How do changes made to the coefficients of the objective function affect the optimal solution? 2. How do changes made to the constants on the right hand side of the constraint affect the optimal solution?
  • 3. EXAMPLE 3 XYZ manufacturing company has a division that produces two models of grates, model–A and model–B. To produce each model–A grate requires ‘3’ g. of cast iron and ‘6’ minutes of labor. To produce each model–B grate requires ‘4’ g. of cast iron and ‘3’ minutes of labor. The profit for each model–A grate is Rs.2 and the profit for each model–B grate is Rs.1.50. One thousand g. of cast iron and 20 hours of labor are available for grate production each day. Because of an excess inventory of model–A grates, Company’s manager has decided to limit the production of model–A grates to no more than 180 grates per day. Solve the given LP problem and perform sensitivity analysis. LP MODEL: Let X1 and X2 be the number of model–A and model–B grates respectively. The complete LP model is as follow: Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2 Subject to: 3X1 + 4X2 ≤ 1000 6X1 + 3X2 ≤ 1200 X1 ≤ 180 X1, X2 ≥ 0
  • 4. EXAMPLE (Cont…) 4 Contribution Per Unit Cj 2 3/2 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S1 1000 3 4 1 0 0 0 S2 1200 6 3 0 1 0 0 S3 180 1 0 0 0 1 Total Profit (Zj) 0 0 0 0 0 0 Net Contribution (Cj – Zj) 2 3/2 0 0 0 0 S1 460 0 4 1 0 –3 0 S2 120 0 3 0 1 –6 2 X1 180 1 0 0 0 1 Total Profit (Zj) 360 2 0 0 0 2 Net Contribution (Cj – Zj) 0 3/2 0 0 –2 0 S1 300 0 0 1 –4/3 5 3/2 X2 40 0 1 0 1/3 –2 2 X1 180 1 0 0 0 1 Total Profit (Zj) 420 2 3/2 0 1/2 –1 Net Contribution (Cj – Zj) 0 0 0 –1/2 1 0 S3 60 0 0 1/5 –4/15 1 3/2 X2 160 0 1 2/5 –1/5 0 2 X1 120 1 0 –1/5 4/15 0 Total Profit (Zj) 480 2 3/2 1/5 7/30 0 Net Contribution (Cj – Zj) 0 0 –1/5 –7/30 0 Since all the values of (Cj – Zj) ≤ 0; so, the solution is optimal. ‘Z = 480; at ‘X1=120’ and ‘X2=160’. Thus, XYZ manufacturing company realizes a maximum profit of Rs.480 per day by producing 120 model–A grates and 160 model–B grates per day.
  • 5. LP:SENSITIVITY ANALYSIS 5 The following questions arise in connection with performing the sensitivity analysis of the above problem. 1. How do changes made to the coefficients of the objective function affect the optimal solution? 2. How do changes made to the constants on the right hand side of the constraint affect the optimal solution? CHANGE IN THE COEFFICIENTS OF THE OBJECTIVE FUNCTION: Now two questions are to be answered: 1. How do changes made to the coefficients of non–basic variable affect the optimal solution? 2. How do changes made to the coefficients of basic variable affect the optimal solution?
  • 6. LP:SENSITIVITY ANALYSIS (Cont…) 6  How do changes made to the coefficients of non–basic variable affect the optimal solution?  According to the above optimal simplex table, S1, & S2 are the non–basic variables.  Now the question arises that how much have the objective function coefficients to be changed before S1, & S2 would enter the solution and replaces one of the basic variables (X1, X2 & S3)?  According to the simplex algorithm as long as the row (Cj – Zj) ≤ 0, there will not be any change in the optimal solution. Thus, Cj – Zj ≤ 0  Cj ≤ Zj Range for a non–basic variable: The range of ‘Cj’ values for non–basic variables are: “–∞ ≤ Cj ≤ Zj”. So, The range of values for ‘S1’ is: “–∞ ≤ Cj ≤ 1/5” The range of values for ‘S2’ is: “–∞ ≤ Cj ≤ 7/30”
  • 7. LP:SENSITIVITY ANALYSIS (Cont…)  How do changes made to the coefficients of basic variable affect the optimal solution?  According to the above optimal simplex table, X1, X2 & S3 are the basic variables.  Now the question arises that how much the objective function coefficient on a basic variable can change without changing the optimal solution of an LP problem. Change in the Coefficient of the Basic Variable ‘X1’: Let us denote the change in a variable value by ‘h’. The change in ‘X1’ is ‘2+h’. Now, we re– compute the new final simplex table which is as follows: Contribution Per Unit Cj 2+h 3/2 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S3 60 0 0 1/5 –4/15 1 3/2 X2 160 0 1 2/5 –1/5 0 2+h X1 120 1 0 –1/5 4/15 0 Total Profit (Zj) 480+120h 2+h 3/2 (1–h)/5 (7+8h)/30 0 Net Contribution (Cj – Zj) 0 0 – (1–h)/5 – (7+8h)/30 0 Since all the values in the (Cj – Zj ) ≤ 0, so the solution is optimal. The optimal solution will change if at least one of (Cj – Zj ) > 0. We will find the value of ‘h’ for which the new solution remains optimal. In order to do this, we evaluate ‘h’ in each column for the non–basic variables. From ‘S1’ Column: (Cj – Zj ) ≤ 0  – (1–h)/5 ≤ 0  h ≤ 1 It means that ‘S1’ will not enter the basis unless the profit per unit for ‘X1’ will increase to ‘2+h =2 +1 = 3’; if it goes above, the solution will not remain optimal. From ‘S2’ Column: (Cj – Zj ) ≤ 0  – (7+8h)/30≤ 0  h ≥ –(7/8) It means that ‘S2’ will not enter the basis unless the profit per unit for ‘X1’ will reduce to ‘2+h =2 – (7/8) = 9/8’; if it goes below, the solution will not remain optimal.
  • 8. LP:SENSITIVITY ANALYSIS (Cont…) 8  How do changes made to the coefficients of basic variable affect the optimal solution? Range of Optimality for ‘X1’: Here, the value of ‘C1’ ranges from ‘(9/8) to 3’ (i.e. 1.125 ≤ C1 ≤ 3). In this interval of ‘C1’, the optimality is unaffected. So, we conclude that the contribution to the profit of a model–A grate can assume values between Rs.1.125 and Rs.3 without changing the optimal solution. Change in the Coefficient of the Basic Variable ‘X2’: Let us denote the change in a variable value by ‘k’. The change in ‘X2’ is ‘(3/2)+k’. Now, we re– compute the new final simplex table which is as follows: Contribution Per Unit Cj 2 (3/2)+k 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S3 60 0 0 1/5 –4/15 1 (3/2)+k X2 160 0 1 2/5 –1/5 0 2 X1 120 1 0 –1/5 4/15 0 Total Profit (Zj) 480+160k 2 (3/2)+k (1+2k)/5 (7–6k)/30 0 Net Contribution (Cj – Zj) 0 0 – (1+2k)/5 – (7–6k)/30 0 Since all the values in the (Cj – Zj ) ≤ 0, so the solution is optimal. The optimal solution will change if at least one of (Cj – Zj ) > 0. We will find the value of ‘k’ for which the new solution remains optimal. In order to do this, we evaluate ‘k’ in each column for the non–basic variables.
  • 9. LP:SENSITIVITY ANALYSIS (Cont…) 9  How do changes made to the coefficients of basic variable affect the optimal solution? From ‘S1’ Column: (Cj – Zj ) ≤ 0  –(1+2k)/5 ≤ 0  k ≥ (–1/2) It means that ‘S1’ will not enter the basis unless the profit per unit for ‘X2’ will decrease to ‘(3/2)+k =(3/2)–(1/2)= 1’; if it goes below, the solution will not remain optimal. From ‘S2’ Column: (Cj – Zj ) ≤ 0  – (7–6k)/30 ≤ 0  k ≤ 7/6 It means that ‘S2’ will not enter the basis unless the profit per unit for ‘X2’ will increase to ‘(3/2)+k =(3/2) + (7/6)= 15/6’; if it goes above, the solution will not remain optimal. Range of Optimality for ‘X2’: Here, the value of ‘C2’ ranges from ‘1 to 15/6’ (i.e. 1 ≤ C2 ≤ 2.5). In this interval of ‘C2’, the optimality is unaffected. So, we conclude that the contribution to the profit of a model–B grate can assume values between Rs.1 and Rs.2.5 without changing the optimal solution.
  • 10. LP:SENSITIVITY ANALYSIS (Cont…) 10  How do changes made to the coefficients of basic variable affect the optimal solution? Change in the Coefficient of the Basic Variable ‘S3’: Let us denote the change in a variable value by ‘L’. The change in ‘S3’ is ‘0+L’. Now, we re– compute the new final simplex table which is as follows: Contribution Per Unit Cj 2 3/2 0 0 0+L CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0+L S3 60 0 0 1/5 –4/15 1 3/2 X2 160 0 1 2/5 –1/5 0 2 X1 120 1 0 –1/5 4/15 0 Total Profit (Zj) 480+60L 2 3/2 (1+L)/5 (7–8L)/30 0+L Net Contribution (Cj – Zj) 0 0 – (1+L)/5 – (7–8L)/30 0 Since all the values in the (Cj – Zj ) ≤ 0, so the solution is optimal. The optimal solution will change if at least one of (Cj – Zj ) > 0. We will find the value of ‘L’ for which the new solution remains optimal. In order to do this, we evaluate ‘L’ in each column for the non–basic variables.
  • 11. LP:SENSITIVITY ANALYSIS (Cont…) 11  How do changes made to the coefficients of basic variable affect the optimal solution? From ‘S1’ Column: (Cj – Zj ) ≤ 0  –(1+L)/5 ≤ 0  L ≥ –1 It means that ‘S1’ will not enter the basis unless the profit per unit for ‘S3’ will decrease to ‘0+L =0–1= –1’; if it goes below, the solution will not remain optimal. From ‘S2’ Column: (Cj – Zj ) ≤ 0  – (7–8L)/30 ≤ 0  L ≤ 7/8 It means that ‘S2’ will not enter the basis unless the profit per unit for ‘S3’ will increase to ‘0+L = 0 + (7/8)= 7/8’; if it goes above, the solution will not remain optimal. Range of Optimality for ‘S3’: Here, the value of ‘C5’ ranges from ‘–1 to 7/8’ (i.e. –1 ≤ C5 ≤ 0.875). In this interval of ‘C5’, the optimality is unaffected
  • 12. LP:SENSITIVITY ANALYSIS (Cont…) 12  Change to the Constants on the Right–Hand side of the Constraint Inequalities: The LP problem is: Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2 Subject to: 3X1 + 4X2 ≤ 1000 6X1 + 3X2 ≤ 1200 X1 ≤ 180 X1, X2 ≥ 0 Contribution Per Unit Cj 2 3/2 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S1 1000 +1h 3 4 1 0 0 0 S2 1200 + 0h 6 3 0 1 0 0 S3 180 + 0h 1 0 0 0 1 Total Profit (Zj) 0 0 0 0 0 0 Net Contribution (Cj – Zj) 2 3/2 0 0 0 Analyzing the 1st Constraint: Now, consider an ‘h’ increase in the right–hand side of the first constraint then the LP model constraints become: 3X1 + 4X2 ≤ 1000 + 1h 6X1 + 3X2 ≤ 1200 + 0h X1 ≤ 180 + 0h Contribution Per Unit Cj 2 3/2 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S3 60+(h/5) 0 0 1/5 –4/15 1 3/2 X2 160+(2h/5) 0 1 2/5 –1/5 0 2 X1 120–(h/5) 1 0 –1/5 4/15 0 Total Profit (Zj) 480+(h/5) 2 3/2 1/5 7/30 0 Net Contribution (Cj – Zj) 0 0 – 1/5 – 7/30 0
  • 13. LP:SENSITIVITY ANALYSIS (Cont…) 13  Change to the Constants on the Right–Hand side of the Constraint Inequalities: Remember that as the requirement of the simplex method is that the values in the quantity column not be negative. If any value in the quantity column becomes negative then the current solution will no longer be feasible and a new variable will enter the solution. Thus, the inequalities: 60+(h/5) ≥ 0, 160+(2h/5) ≥ 0 & 120–(h/5) ≥ 0 ; are solved for ‘h’:  60+(h/5) ≥ 0  (h/5) ≥ (–60)  h ≥ –300;  160+(2h/5) ≥ 0  (2h/5) ≥ –160  h ≥ –400;  120–(h/5) ≥ 0  –(h/5) ≥ –120  h ≤ 600. We will get: h ≥ –300, h ≥ –400 & h ≤ 600 Since: b1 = 1000 + h then h = b1 – 1000; The value ‘h = b1 – 1000’ is put into the inequalities h ≥ –300, h ≥ –400 & h ≤ 600 as follows: h ≥ –300 b1 – 1000 ≥ –300 b1 ≥ –300+1000 b1 ≥ 700 h ≥ –400 b1 – 1000 ≥ –400 b1 ≥ –400+1000 b1 ≥ 600 h ≤ 600 b1 – 1000 ≤ 600 b1 ≤ 600+1000 b1 ≤ 1600 Thus, the range of ‘b1’ is: 600 ≤ b1 ≤ 1600. Under these conditions, XYZ Manufacturing Company should produce ‘120–(h/5)’ model–A grates and ‘160+(2h/5)’ model–B grates.
  • 14. LP:SENSITIVITY ANALYSIS (Cont…) 14  Change to the Constants on the Right–Hand side of the Constraint Inequalities: The LP problem is: Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2 Subject to: 3X1 + 4X2 ≤ 1000 6X1 + 3X2 ≤ 1200 X1 ≤ 180 X1, X2 ≥ 0 Analyzing the 2nd Constraint: Now, consider a ‘k’ increase in the right–hand side of the first constraint then the LP model constraints become: 3X1 + 4X2 ≤ 1000 + 0k 6X1 + 3X2 ≤ 1200 + 1k X1 ≤ 180 + 0k Contribution Per Unit Cj 2 3/2 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S1 1000 +0k 3 4 1 0 0 0 S2 1200 + 1k 6 3 0 1 0 0 S3 180 + 0k 1 0 0 0 1 Total Profit (Zj) 0 0 0 0 0 0 Net Contribution (Cj – Zj) 2 3/2 0 0 0 Contribution Per Unit Cj 2 3/2 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S3 60–(4k/15) 0 0 1/5 –4/15 1 3/2 X2 160–(k/5) 0 1 2/5 –1/5 0 2 X1 120+(4k/15) 1 0 –1/5 4/15 0 Total Profit (Zj) 480+(7k/30) 2 3/2 1/5 7/30 0 Net Contribution (Cj – Zj) 0 0 – 1/5 – 7/30 0
  • 15. LP:SENSITIVITY ANALYSIS (Cont…) 15  Change to the Constants on the Right–Hand side of the Constraint Inequalities: Remember that as the requirement of the simplex method is that the values in the quantity column not be negative. If any value in the quantity column becomes negative then the current solution will no longer be feasible and a new variable will enter the solution. Thus, the inequalities: 60–(4k/15) ≥ 0, 160–(k/5) ≥ 0 & 120+(4k/15) ≥ 0; are solved for ‘k’:  60 – (4k/15) ≥ 0  –(4k/15) ≥ –60  k ≤ 225,  160–(k/5) ≥ 0  –(k/5) ≥ –160 k ≤ 800 &  120+(4k/15) ≥ 0  (4k/15) ≥ –120  k ≥ –450 We will get: k ≤ 225, k ≤ 800 & k ≥ –450. Since: b2 = 1200 + k then k = b2 – 1200; The value ‘k = b2 – 1200’ is put into the inequalities k ≤ 225, k ≤ 800 & k ≥ –450 as follows: Thus, the range of ‘b2’ is: 750 ≤ b2 ≤ 2000. Under these conditions, XYZ Company should produce ‘120+(4k/15)’ model–A grates and ‘160–(k/5)’ model–B grates. k ≤ 225 b2 – 1200 ≤ 225 b2 ≤ 225+1200 b2 ≤ 1425 k ≤ 800 b2 – 1200 ≤ 800 b2 ≤ 800+1200 b2 ≤ 2000 k ≥ –450 b2 – 1200 ≥ –450 b2 ≥ –450+1200 b2 ≥ 750
  • 16. LP:SENSITIVITY ANALYSIS (Cont…) 16  Change to the Constants on the Right–Hand side of the Constraint Inequalities: The LP problem is: Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2 Subject to: 3X1 + 4X2 ≤ 1000 6X1 + 3X2 ≤ 1200 X1 ≤ 180 X1, X2 ≥ 0 Analyzing the 3rd Constraint: Now, consider an ‘L’ increase in the right–hand side of the first constraint then the LP model constraints become: 3X1 + 4X2 ≤ 1000 + 0L 6X1 + 3X2 ≤ 1200 + 0L X1 ≤ 180 + 1L Contribution Per Unit Cj 2 3/2 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S1 1000 + 0L 3 4 1 0 0 0 S2 1200 + 0L 6 3 0 1 0 0 S3 180 + 1L 1 0 0 0 1 Total Profit (Zj) 0 0 0 0 0 0 Net Contribution (Cj – Zj) 2 3/2 0 0 0 Contribution Per Unit Cj 2 3/2 0 0 0 CBi Basic Variables (B) Quantity (Qty) X1 X2 S1 S2 S3 0 S3 60+L 0 0 1/5 –4/15 1 3/2 X2 160 0 1 2/5 –1/5 0 2 X1 120 1 0 –1/5 4/15 0 Total Profit (Zj) 480 2 3/2 1/5 7/30 0 Net Contribution (Cj – Zj) 0 0 – 1/5 – 7/30 0
  • 17. LP:SENSITIVITY ANALYSIS (Cont…) 17  Change to the Constants on the Right–Hand side of the Constraint Inequalities: Remember that as the requirement of the simplex method is that the values in the quantity column not be negative. If any value in the quantity column becomes negative then the current solution will no longer be feasible and a new variable will enter the solution. Thus, the inequalities: 60+L ≥ 0, 160 ≥ 0 & 120 ≥ 0; are solved for ‘L’: 60+L ≥ 0  L ≥ –60. We will get: L ≥ –60. Since: b3 = 180 + L then L = b3 – 180; The value ‘L = b3 – 1200’ is put into the inequality L ≥ –60 as follows: L ≥ –60  b3 – 180 ≥ –60  b3 ≥ –60+180  b3 ≥ 120 Thus, the range of ‘b3’ is: 120 ≤ b3 ≤ ∞.
  • 18. LP:SENSITIVITY ANALYSIS (Cont…) 18  Shadow Prices: Shadow Price for 1st Resource: As we showed earlier that if the right hand side of constraint–1 is increased by ‘h’ units then the optimal solution is: X1 = 120–(h/5) & X2 = 160+(2h/5). The resulting profit is calculated as follows: Z = 2X1 + 1.5X2 = 2X1 + (3/2) X2 Z = (2) [120–(h/5)] + (3/2)[160+(2h/5)] Z = (480+h/5) Now, let ‘h=1’, we find that Z = (480+(1/5))= 480.20. As we know that the optimal value of the objective function of the original problem is Rs.480.20, so the shadow price for the 1st resource is 480.20–480 = Rs. 0.20.
  • 19. LP:SENSITIVITY ANALYSIS (Cont…) 19  Shadow Prices: Shadow Price for 2nd Resource: As we showed earlier that if the right hand side of constraint–2 is increased by ‘k’ units then the optimal solution is: X1 = ‘120+(4k/15)’ & X2 = ‘160– (k/5)’. The resulting profit is calculated as follows: Z = 2X1 + 1.5X2 = 2X1 + (3/2) X2 Z = (2)[ 120+(4k/15)] +(3/2)[ 160–(k/5)] Z = 480+(7k/30) Now, let ‘k=1’, we find that Z = [480+(7(1)/30]= 480.23. As we know that the optimal value of the objective function of the original problem is Rs.480, so the shadow price for the 2nd resource is 480.23–480 = Rs.0.23.
  • 20. LP:SENSITIVITY ANALYSIS (Cont…) 20  Shadow Prices: Shadow Price for 3rd Resource: As we showed earlier that if the right hand side of constraint–3 is increased by ‘L’ units then the optimal solution is: X1 = ‘120’ & X2 = ‘160’. The resulting profit is calculated as follows: Z = 2X1 + 1.5X2 = 2X1 + (3/2) X2 Z = (2)[120] +(3/2)[160] Z = 480 The shadow price for this resource is ‘Zero’. There is a surplus (i.e., excess) of this resource. Due to the excess of this resource constraint “X1 ≤ 180” is not binding on the optimal solution (X1=120 & X2=160). While, Constraint–1 and Constraint–2, which hold with equality at the optimal solution (X1=120 & X2=160), are said to be binding constraints. The objective function cannot be increased without increasing these resources. They have positive shadow prices.