Forelæsning 3 Linear and Integer Programming II
Forelæsning 3 Linear and Integer Programming II
X1, X2 ≥ 0
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-4
High Note Sound Company
The High Note Sound Company Graphical Solution
X2
(receivers)
Optimal Solution at Point a
60 –
X1 = 0 CD Players
X2 = 20 Receivers
– Profits = $2,400
40 –
Isoprofit Line: $2,400 = 50X1 + 120X2
a = (0, 20) –
b = (16, 12)
20 –
10 –
Figure 7.16
0– | | | | | |
10 20 30 40 50 60 X1
c = (20, 0) (CD players)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-5
Changes in the
Objective Function Coefficient
c
0– | | | | | |
10 20 30 40 50 60 X1
Figure 7.17
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-7
Changes in the
Objective Function Coefficient
X2
40 –
30 –
20 –
b
a
10 –
0– | | c | | | |
10 20 30 40 50 60 X1
Figure 7.17
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-8
Changes in the
Objective Function Coefficient
X2
40 –
30 –
20 –
b
a
10 –
0– | | c | | | |
10 20 30 40 50 60 X1
Figure 7.17
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-9
Excel Solver and Changes in
Objective Function Coefficients
Excel 2010 Spreadsheet for High Note Sound Company
Program 7.6A
Figure 7.6B
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-11
Excel Solver and Changes in
Objective Function Coefficients
Excel 2010 Sensitivity Report for High Note Sound
Company
Program 7.6C
40 –
Constraint Representing 60 Hours of
Audio Technician’s Time Resource
a
20 – Constraint Representing 80 Hours of
b Electrician’s Time Resource
– c| | | |
0 20 40 50 60 X1
Figure 7.19
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-18
Changes in the Electricians’ Time Resource
for the High Note Sound Company
(a) The optimal extreme point is still a (with new coordinate
X2 values, (0,25))
Profit increases by 120*(25-20)=600
60 – RHS is increased by 100-80=20
Profit value increase per unit RHS is 600/20=30 (shadow
price of RHS for electrician.
40 –
Constraint Representing 60 Hours of
Audio Technician’s Time Resource
a
25 –
20 – b Changed Constraint Representing 100 Hours
of Electrician’s Time Resource
– | c | | |
0 20 40 50 60 X1
Figure 7.19
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-19
Changes in the Electricians’ Time Resource
for the High Note Sound Company
X2 (b)
60 –
40 –
Constraint Representing 60 Hours of
Audio Technician’s Time Resource
– c | | | |
0 20 30 40 60 X1
Figure 7.19
40 –
Constraint
Representing
20 – 60 Hours of Audio
Technician’s
Time Resource
– | | | | | |
0 20 40 60 80 100 120
X1
Figure 7.19
Program 7.6C
Min z=2x1+x2
s.t. A: x1+x2>=6
B: x1+4x2>=12
C: x1+2x2<=10
x1>=0, x2>=0
X2
Constraint A
6–
Optimal extreme point (2,4) Optimal value=8
4–
Constraint C
2– Constraint B
(not binding)
– | | | | | |
0 2 4 6 8 10 12
X1
X2
Constraint A
6–
Previous Optimal extreme point
New 4–
Constraint
C with
increased
RHS
2–
– | | | | | |
0 2 4 6 8 10 12
X1
X2
Constraint A
New Optimal extreme point with lower
optimal value (negative shadow price)
6–
Previous Optimal extreme point
New 4–
Constraint
C with
increased
RHS
2–
– | | | | | |
0 2 4 6 8 10 12
X1
Optimal value decreases (negative
shadow price for constraint C)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-26
Changing RHS in Minimization Problem
X2
Constraint A
6–
Optimal extreme point (2,4) Optimal value=8
4–
Constraint C
2–
Constraint B
– | | | | | |
0 2 4 6 8 10 12
X1
X2
New RHS of A goes up
Constraint A
with 6–
increased
RHS Previous Optimal extreme point
4–
2–
– | | | | | |
0 2 4 6 8 10 12
X1
X2
New
Constraint A RHS of A goes up
with 6–
increased
RHS Previous Optimal
extreme point
4– New Optimal
extreme point
2–
– | | | | | |
0 2 4 6 8 10 12
X1
Optimal value increases (positive shadow price for constraint A)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall 7-29
Introduction to Integer Programming
Figure 10.1
Program 10.2