Lec.2 (Graphical Sensitivity Analysis)
Lec.2 (Graphical Sensitivity Analysis)
Graphical sensitivity
analysis
Elements of an LP Model
Problem Formulation/ Modeling
Process of translating the verbal statement of a
problem into a mathematical statement model:
• Understand the problem thoroughly.
• Define the decision variables.
• Describe the objective.
• Describe each constraint.
• Write the objective in terms of the decision
variables.
• Write the constraints in terms of the decision
variables.
Types of constrains
1- redundant constraint: the constraint that has no change
on the feasible region
removing this constraint doesn't affect the optimal sol.
if redundant constraint pass through the optimal solution.
This solution called degenerate solution
2- Bending constraint: passes through optimal
solution
3- Nonbinding constraint: doesn't pass through
optimal solution constraint
Graphical Sensitivity Analysis
Two cases will be considered sensitivity of the
optimum solution :
1. Effect of changes in R.H.S. of the constraints (resource
availability).
Scarce resource: the resource that its availability is totally
consumed
its constrained is called binding. This constraint pass
through optimal solution
Abundant Resource: the resource that its availability isn't
totally consumed
its constraint is called nonbinding . This constraint doesn’t
pass through optimal solution
2. Effect of changes in the coefficients of the objective
function (Cj).
Example :
JOYCO produces two products on two machines. A unit of
product 1 requires 2 hours on machine 1 and 1 hour on
machine 2. For product 2, a unit requires 1 hour on machine 1
and 3 hours on machine 2. The revenues per unit of products 1
and 2 are $30 and $20, respectively. The total daily processing
time available for each machine is 8 hours.
Solution:
Let x1=number of unit of product 1
X2=number of unit of product 2
Model formulation:
Maximize z=30x1+20x2
Subject to
2x1+ x2 ≤ 8 (machine 1)
X1+ 3x2≤8 (machine 2)
X1,x2 ≥ 0 (non negativity constraints)
Solution
To draw this model following as:
1- To draw 2x1+ x2 ≤ 8 , convert to equality form as
a- first equality 2x1+ x2 =8
b-set x1=0 this lead to x2=8
c-set x2=0 this lead to x1=4
1- To draw x1+ 3x2≤8 ,convert t equality form as
a- First equality x1+ 3x2 = 8
b- Set x1 =0 , this lead to x2=8/3
c- Set x2=0 , this lead to x1=8
Optimal solution of the basic example
changes in the availability of the resources
(right-hand side of the constraints)
If the daily capacity is increased from 8 hours
to 9 hours.
what is the rate of change in optimum z :
1. resulting from changing machine 1 capacity from 8
hours to 9 hours, can be computed as follows:
o the new optimum will occur at point G (as shown in
previous graph)
This means that a unit increase (decrease) in
machine 1 capacity will increase (decrease)
revenue by $14 (W.P.U.) .
clear that the dual price of $14.00/hr remains valid
for changes (increases or decreases) in machine 1
capacity that move its constraint parallel to itself to
any point on the line segment BF.
Minimum machine 1 capacity [at B=(0,2.67)]= 2*0
+1* 2.67=2.67
Maximum machine 1 capacity[ at f=(8,0)]=
2*8+1*0=16
Then
2.67 ≤ machine 1 capacity ≤ 16
2- Same manner computation for machine 2
Minimum machine 2 capacity [at D=(4,0)]=1*4
+3* 0=4
Maximum machine 2 capacity [ at E=(0,8)]=
1*0+3*8=24
The conclusion is that the dual price of
$2.00/hr for machine 2 will remain applicable
for the range
4 ≤ machine 2 capacity ≤ 24
The dual prices allow making economic decisions about
the LP problem, as the following questions demonstrate: