CH 032
CH 032
CH 032
To illustrate
Example
A decision is to be made whether each of three plants should be
built (Yi = 1) or not built (Yi = 0)
Requirement
Binary Representation
Example - continued
You
y
n
loo fun
oksos funny
s
You look
o fu
k
o
nny
lo
u
Yo
Y
Yoou l
u
o
o
o
funny
You llook
k
o
sk sso
f
o
fu unny
n
ny
Problem Summary
Schedule lifeguard over 5 consecutive days.
Minimize the total number of lifeguards.
Meet the minimum daily lifeguard requirements
Sun. Mon. Tue. Wed. Thr. Fri. Sat.
8
6
5
4
6
7
9
10
Decision Variables
Xi = the number of lifeguards scheduled to begin on day i
for i=1, 2, ,7 (i=1 is Sunday)
Objective Function
Minimize the total number of lifeguard scheduled
Constraints
Ensure that enough lifeguards are scheduled each day.
11
12
X3
X4
X5
X6
X1
X1 + X4 + X5 + X6 + X7
X1 + X2 + X5 + X6 + X7 6
X1 +
X2 + X3 + X6 + X7 5
X1 +
X2 + X3 + X4 + X7 4
X1 + X2 + X3 + X4 + X5
X2 + X3 + X4 + X5 + X6
X3 + X4 + X5 + X6 + X7
14
15
16
Note: An alternate
optimal solution exists.
PRESENT
REQUIRED
BEGIN SHIFT
9
8
6
5
6
7
9
8
6
5
4
6
7
9
1
0
1
1
3
2
2
TOTAL LIFEGUARDS
10
17
Budget
Space
Priority conditions
18
19
Cost (1000)
$
400.00
$
350.00
$
50.00
$
100.00
$
500.00
$
90.00
$
220.00
$
150.00
$
140.00
Jobs
7
0
1
0
2
1
8
3
2
Points
4176
1774
2513
1928
3607
962
2829
1708
3003
X9
20
Decision Variables:
Xj- a set of binary variables indicating if a project j is
selected (Xj=1) or not (Xj=0) for j=1,2,..,9.
Objective function:
Maximize the overall point score of the funded projects
Constraints:
See the mathematical model.
21
50X3+
X3+
2X5+
X6+
8X7+
3X8+
2x9
X2+
X3+
X4
X5
= 1
Sports funds and music funds must be restored / not restored together
X7 -
10
X8
= 0
X9 0
X7 x8 -
x9
22
=SUMPRODUCT(B4:B12,E4:E1
=SUMPRODUCT(B4:B12,C4:C12)
2)
=SUMPRODUCT(B4:B12,D4:D12)
=SUM(B4:B7)
=B6+B8
=B10-B11
=B10-B12
=B11-B12
23
25
26
Data
Production costs, Times, Availability
Plant
Plant
Philadelphia
Philadelphia
St.
St.Louis
Louis
New
NewOrleans
Orleans
Denver
Denver
Fixed
FixedCost
Cost
per
perMonth
Month
40
40
35
35
20
20
30
30
Production
ProductionCost
Cost/ /unit
unit
G50
H90
G50
H90
10
14
10
14
12
12
12
12
88
10
10
13
15
13
15
Production
ProductionTime
Time(hr/unit)
(hr/unit) Available
Availablehrhr
G50
H90
per
G50
H90
perMonth
Month
0.06
0.06
640
0.06
0.06
640
0.07
0.08
960
0.07
0.08
960
0.09
0.07
480
0.09
0.07
480
0.05
0.09
640
0.05
0.09
640
Demand
Demand
Cincinnati
Cincinnati Kansas
KansasCitySan
CitySanFrancisco
Francisco
2000
2000
5000
5000
3000
3000
6000
6000
5000
5000
7000
7000
27
$200
Kansas
City
300
St.Louis
New Orleans
Denver
100
200
300
100
200
100
San
Francisco
500
400
300
100
G50 = $22;
H90 = $28.
28
Production
1. Production level for
each product
in each plant.
2. Distribution plan.
Distribution centers
1. Storage
2. Sale and Dissemination
to retail establishments
29
St. Louis
1
2
G11 , H
G1 , 11
G 2 H12
13 ,
H
Cincinnati
Kansas City
San Francisco
13
G22 , H
22
G 31,
New Orleans
H 31
,1 H 41
G4
Denver
4
30
G1111, H
G11 , 11
22 H
12 G
G
G
11
13 ,
H 12
Cincinnati
G13 GG1112
G22 , H
2
St. Louis
G13 G12
22
G13G12
H 31
,
G
G 31
11
Kansas City
G132
G12
G
11
New Orleans 3
G13
G11
G12 G13
G311
San
Francisco
G
G
12
11
Denver
G13
4
G
G
11
12
G
11
G13
G
G
11
12
Total production of G50 in Philadelphia = GP = G
G1111 + GG1212 + GG1313
13
31
St. Louis
1
2
G11 , H
G1 , 11
2 H
12
G
13 ,
H
Denver
Cincinnati
Kansas City
San Francisco
13
G22 , H
22
H 31
G 31,
New Orleans
32
Globe Electronics
Model No. 1:
All The Plants Remain Operational
33
Objective function
Max Gross Profit = 22(Total G50)+28(Total H90) Total
Production Cost Total transportation Cost =
Max 22G + 28H
G = total number of
G50 produced
H = total number of
H90 produced
34
Objective function
Transportation costs
35
Constraints:
Ensure that the amount shipped from a plant equals the amount
produced in a plant (summation constraints).
For G50
For H90
For G50
For H90
G +G +G +G =G
H +H +H +H =H
36
Constraints
GC 1400
HC 3500
GC 2000
HC 5000
Kansas City
GKC 2100
HKC 4200
GKC 3000
HKC 6000
San Francisco
GSF 3500
HSF 4900
GSF 5000
HSF 7000
37
Constraints:
38
39
41
42
Objective function
Subtract the following conditional set up costs from the previous
objective function:
40,000YP + 35,000YSL + 20,000YND + 30,000YD
Constraints
Change the production constraints
.06GP + .0 6HP
640YP
43
44
46
Budget constraints,
Deadlines constraints,
Choice of media,
Exposure to target population.
The product will be promoted using black and white and colored full
page ads.
Three publications are considered:
Building Today
Lumber Weekly
Timber World
48
Requirements
49
Circulat.
Cost/Ad
400,000 Full pg.:
$800
Percentage of Readership
Bldng. Lumbr Timber
.50
60%
80
.25
40
80
.15
60
60
90
80
80
.10
50
20
40
50
Solution
The requirements are:
Stay within a $90,000 budget for print advertising.
Place no more than 65 ads(=5 x 13 weeks) and no less than 20 ads
(=5 X 4 weeks) in Building Today.
Place no more than 13 and no less than 4 ads in Lumber Weekly.
Place exactly 3 ads in Timber World.
Place at least 50 full-page ads.
Place at least 8 color ads.
Spend no more than $40,000 on advertisement in any one of the trade
publications.
51
Variables
Building Today
Building Today
Lumber Weekly
Lumber Weekly
Timber
Timber
52
=C$11*C$13*$B17
Drag across to D17:E17
then down to C19:E19.
Then delete formulas in
cells C17,D19, and E19
54
90000 Budget
# of Building
65
Today ads
20
# of Lumber
13
Weekly ads
4
3 Timber World ads
Full Page
50
Colored
40000
40000
Maximum
40000 spent
In each magazine
55
Totals
Cost
Expsoure Units
Publication
Page Size
Style
Ads
Building Today
Full
Half
B&W
B&W
$800
102000
$500
40800
Totals for Building Today
50
0
50
$40,000
$0
$40,000
5100000
0
5100000
Lumber Weekly
Full
Full
B&W
Color
$1,500
91250
$4,000
182500
Totals for Lumber Weekly
5
8
13
$7,500
$32,000
$39,500
456250
1460000
1916250
Timber World
Full
Full
B&W
Color
$2,000
82000
$6,000
164000
Totals for Timber World
2
1
3
$4,000
$6,000
$10,000
164000
164000
328000
TOTALS
66
$89,500
7344250
Size Totals
Full Page
Half Page
66
0
$89,500
$0
7344250
0
Style Totals
B&W
Color
57
9
$51,500
$38,000
5720250
1624000
LIMITS
Budget
Max Build Today
Min Build Today
Max Lum Week
Min Lum Week
# Timber World
Min Full Page
Min Color
Max Any Pub
$90,000
65
20
13
4
3
50
8
$40,000
56
Copyright 2002 John Wiley & Sons, Inc. All rights reserved.
Reproduction or translation of this work beyond that named in
Section 117 of the United States Copyright Act without the
express written consent of the copyright owner is unlawful.
Requests for further information should be addressed to the
Permissions Department, John Wiley & Sons, Inc. Adopters of
the textbook are granted permission to make back-up copies for
their own use only, to make copies for distribution to students of
the course the textbook is used in, and to modify this material to
best suit their instructional needs. Under no circumstances can
copies be made for resale. The Publisher assumes no
responsibility for errors, omissions, or damages, caused by the
use of these programs or from the use of the information
contained herein.
57