Professional Documents
Culture Documents
in Services
Learning Objectives
Describe the features of constrained optimization
models.
Formulate LP models for computer solution.
Solve two-variable models using graphics.
Explain the nature of sensitivity analysis.
Solve LP models with Excel Add-in Solver and
interpret the results.
Formulate a goal programming model.
Stereo Warehouse
Let x = number of receivers to stock
y = number of speakers to stock
Maximize 50x + 20y
gross profit
Subject to 2x + 4y 400 floor space
100x + 50y 8000 budget
60 sales limit
x
x, y 0
Diet Problem
Lakeview Hospital
Let E = units of egg custard base in the shake
C = units of ice cream in the shake
S = units of butterscotch syrup in the shake
Minimize
Subject to
015
. E 0.25C 010
. S
50 E 150C 90S 175
E , C, S 0
cholesterol
fat
protein
calories
Shift-Scheduling Problem
Gotham City Police Patrol
Let xi = number of officers reporting at period i for i =1, 2, 3, 4, 5, 6
Minimize
x1 x2 x3 x4 x5 x6
x1
+ x6
x1 + x2
period 1
14
x2 + x3
x3 + x4
x4 + x5
x5 + x6
period 2
period 3
period 4
12
period 5
16
period 6
Workforce-Planning Problem
Last National Drive-in Bank
Let Tt = number of trainees hired at the beginning of period t
for t = 1,2,3,4,5,6
At = number of tellers available at the beginning of period t
for t = 1,2,3,4,5,6
Minimize
6
(600 A 300T )
subject to
t 1
At , Tt
for t = 2,3,4,5,6
0 and integer for t = 1,2,3,4,5,6
0.9 At 1 Tt 1 At 0
Transportation Problem
Lease-a-Lemon Car Rental
Let
xij = number of cars sent from city i to city j for i = 1,2,3 and j = 1,2,3,4
= 26
x21 + x22 + x23 + x24
= 43
x31 + x32 + x33 + x34 = 31
x11
+ x21
x12
+ x31
+ x22
x13
+ x32
+ x23
x14
= 28
+ x33
+ x24
xij
= 32
0 for all i , j
= 26
+ x34 = 14
Graphical Solution
Stereo Warehouse
Z=3800
Z=3600
Z=3000 200
Z=2000 150
100
50
0
A
0
Optimal solution
( x = 60, y = 40)
50 B
100
150
200
= 400 (constraint 1)
+ s2
= 8000 (constraint 2)
+ s3 =
x, y, s1, s2, s3
60 ( constraint 3)
0
Stereo Warehouse
Extreme-Point Solutions
Extreme
point
A
Nonbasic
variables
x, y
Basic
variables
s1
Variable
value
400
s2
8000
s3
60
s1
280
s2
2000
s 3 , s2
x
s1
60
120
3800
s 1 , s2
y
x
s3
40
60
20
3600
s 1, x
y
x
s3
80
40
60
2000
y
s2
100
3000
s 3, y
Objective-function
value Z
0
3000
Sensitivity Analysis
Objective-Function Coefficients
200
z = 50x + 20y
150
x 60
100
2 x 4 y 400 (constraint 1)
50
(constraint 3 )
50 B
100
150
200
Sensitivity Analysis
Right-Hand-Side Ranging
200
x 60
150
(constraint 3 )
100
D
50
100 x 50 y 8000
50 B I 100
150
200
(constraint 2)
Goal Programming
Stereo Warehouse Example
Let x = number of receivers to stock
y = number of speakers to stock
d1
Minimize
subject to
Z Pd
1 4 P2 ( d1 2d 3 ) P3 ( d 21 2 d 2 )
50 x 20 y d1 d1 99,999
2 x 4 y d 2 d 2 400
100 x 50 y d 3 d 3 8000
x d 4 d 4 60
x , y , d1 , d1 , d 2 , d 2 , d 3 , d 3 , d 4 , d 4 0
profit goal
floor-space goal
budget goal
sales-limit goal