Escolar Documentos
Profissional Documentos
Cultura Documentos
Decisions variables:
X1 = Weekly production level of Space Rays (in dozens)
X2 = Weekly production level of Zappers (in dozens).
Objective Function:
Weekly profit, to be maximized
1000
700
500
Production
Time
3X1+4X22400
Infeasible
Production mix
constraint:
X1-X2 350
Feasible
500
700
X1
Reduced
cost
RANGE OF INSIGNIFICANCE
Complementary
slackness
Sensitivity Analysis of
Right-Hand Side Values
Sensitivity Analysis of
Right-Hand Side Values
Shadow Prices
Dual Price
value of a constraint.
Shadow Price
graphical demonstration The Plastic
constraint
X2
1000
Production time
constraint
X1
500
Range of Feasibility
Range of Feasibility
The Plastic
constraint
1000
Production mix
constraint
X1 + X2 700
X2
A new active
constraint
500
Range of Feasibility
The Plastic
constraint
1000
X2
500
Production time
constraint
X1
500
Range of Feasibility
X2
Infeasible
solution
1000
A new active
constraint
X1
500
Original Value
4360
Final Value
4360
Adjustable Cells
Cell
Name
Original Value
$B$4 Dozens Space Rays
320
$C$4 Dozens Zappers
360
Final Value
320
360
Constraints
Cell
Name
$D$7 Plastic Total
$D$8 Prod. Time Total
$D$9 Total Total
$D$10 Mix Total
Cell Value
1000
2400
680
-40
Formula
$D$7<=$F$7
$D$8<=$F$8
$D$9<=$F$9
$D$10<=$F$10
Status
Slack
Binding
0
Binding
0
Not Binding
20
Not Binding
390
Name
Plastic Total
Prod. Time Total
Total Total
Mix Total
Allowable Allowable
Increase
Decrease
100
400
100
650
1E+30
20
1E+30
390
Duality
The Dual
An alternate formulation of a linear programming
problem as either the original problem or its
mirror image, the dual, which can be solved to
obtain the optimal solution.
Its variables have a different economic
interpretation than the original formulation of the
linear programming problem (the primal).
It can be easily used to determine if the addition of
another variable to a problem will change the
optimal.
Formulation of a Dual
Dual
The number of decision variables in the primal is
equal to the number of constraints in the dual.
The number of decision variables in the dual is
equal to the number of constraints in the primal.
Since it is computationally easier to solve problems
with less constraints in comparison to solving
problems with less variables, the dual gives us the
flexibility to choose which problem to solve.
Example
Production Data for the Making of PCs and Printers by A-1 Clone
Assembly time
Packaging time
per unit (hr.)
per unit (hr.)
Number of items
Profit
(site 1)
(site 2)
to be made
per unit
5
3
X
$50
2
2
Y
$30
220 hours
Primal Problem
Gross profit:
Max GP = 50X + 30Y
st. 5X + 2Y 220
3X + 2Y 180
X, Y 0
180 hours
Dual Problem*
Total opportunity cost:
Min C = 220a + 180p
st.
5a + 3p 50
2a + 2p 30
a, p 0
2 220
5
3
2
180
50 30 GP
RHS
3
5
2
2
220 180
RHS
50
30