Linear Programming Sensitivity Analysis
Linear Programming Sensitivity Analysis
Linear Programming
Linear programming problem (LPP): Maximization Problem
Example: A start-up pet food bakery has two key bakery items to offer to their customers i.e.,
vegetarian cookies and non-vegetarian cookies. The production of these two items requires
processing in two key sections: Kitchen and Packaging. One kg of vegetarian cookies requires 2
hrs in preparation (i.e., in kitchen) and 60 minutes in packaging. While, one kg of non-
vegetarian cookies requires 2.5 hrs in kitchen and 30 minutes in packaging. The total time
available is 35 hours per week in kitchen and 15 hours per week in packaging section. The profit
per kg of vegetarian cookies is INR 200 and for a kg of non-vegetarian cookies is INR 225*.
What is the quantity of each type of cookies that this start-up should produce in a week in
order to maximize its profits?
Objective Function:
Maximize 200 V + 225 N
Objective Function:
Maximize 200 V + 225 N
Variable Cells
Cell Name Original Value Final Value Integer
$G$9 Unknowns V 0 13.33333333 Contin
$H$9 Unknowns N 0 3.333333333 Contin
Constraints
Cell Name Cell Value Formula Status Slack
$I$12 C1 35 $I$12<=35 Binding 0
$I$13 C2 15 $I$13<=15 Binding 0
Vishal Mishra (IBS, Hyderabad)
But sometimes 1). One need not solve the problem again and/or 2) Find out the impact of the
above changes from some of the output values (that excel-solver provides).
Vishal Mishra (IBS, Hyderabad)
Note that objective function itself can be seen as an equation of a straight line. One can write
Maximize K = 200 V + 225 N
OR
N = K/225 – 200V/225
(Similar to Y = C + m X
OR yො = b0 + b1 X )
Note: Slope
Graphical Illustration
Vishal Mishra (IBS, Hyderabad)
Total % (increase/decrease): 40
So, in this case the optimal solution point will remain same (i.e. 13.33, 3.33).
Vishal Mishra (IBS, Hyderabad)
Constraint 1 written as
Equality i.e.,
2 V + 2.5 N = 35 OR
N = 35/2.5 – 2V/2.5
Note: Intercept
Graphical Illustration
Vishal Mishra (IBS, Hyderabad)
Example: If RHS of C1 (hrs in kitchen) increases by 10 and that of C2 (hrs in packaging) decreases by 4.
% increase (C1): (10/40)*100 = 25
% decrease (C2): (4/8)*100 = 50
Total % (increase/decrease): 75
Since this is less than 100%, the shadow price do not change. Thus the new optimal solution value will
be 3416.66 + (10*83.33) – (4*33.33) = 4116.67 (of course, at a new optimal solution point other than R
(13.33, 3.33)).