Beruflich Dokumente
Kultur Dokumente
Linear Programming
Modeling Applications:
With Computer
Analyses in Excel and
QM for Windows
To accompany
Quantitative
8-1
2006 by
Prentice Hall,
Learning Objectives
Students will be able to:
1. Model a wide variety of medium to
large LP problems.
2. Understand major application areas,
including marketing, production,
labor scheduling, fuel blending,
transportation, and finance.
3. Gain experience in solving LP
problems with QM for Windows and
Excel Solver software.
To accompany
Quantitative
8-2
2006 by
Prentice Hall,
Chapter Outline
8.1 Introduction
8.2 Marketing Applications
8.3 Manufacturing Applications
8.4 Employee Scheduling
Applications
8.5 Financial Applications
8.6 Transportation Applications
8.7 Transshipment Applications
8.8 Ingredient Blending
Applications
To accompany
Quantitative
8-3
2006 by
Prentice Hall,
Marketing
Applications
Linear programming models have been
used in the advertising field as a
decision aid in selecting an effective
media mix.
Media selection problems can be
approached with LP from two
perspectives.
- The objective can be to maximize audience
exposure or to minimize advertising costs.
To accompany
Quantitative
8-4
2006 by
Prentice Hall,
Marketing
Applications
The Win Big Gambling Club
The table on the following slide
presents the number of potential
gamblers reached by making use of an
advertisement in each of four media.
It also provides the cost per
advertisement placed and the maximum
number of ads that can be purchased
per week.
To accompany
Quantitative
8-5
2006 by
Prentice Hall,
Marketing Applications
Media Selection:
Win Big Gambling Club
Medium
TV spot (1 minute)
5,000
800
12
Daily newspaper
(full page ad)
8,500
925
2,400
290
25
2,800
380
20
8-6
2006 by
Prentice Hall,
Marketing
Applications
The Win Big Gambling Club
The contractual arrangements require that
at least five radio spots be placed each
week.
Management insists that no more than
$1,800 be spent on radio advertising
every week.
The problem can be stated as follows
Let
X1 = # of 1-minute TV spots each week
X2 = # of daily paper ads each week
X3 = # of 30-second radio spots each week
X4 = # of 1-minute radio spots each week
To accompany
Quantitative
8-7
2006 by
Prentice Hall,
X X
(audience
coverage)
X 1 12 (max TV spots/week)
X ( max newspaper ads/week)
X ( max 30 - sec. radio spots/week)
X (max 1 - min. radio spots/week)
X X X X
(Weekly ad budget)
8-8
2006 by
Prentice Hall,
To accompany
Quantitative
8-9
2006 by
Prentice Hall,
To accompany
Quantitative
8-10
2006 by
Prentice Hall,
X1 = 1.97
X2 = 5
X3 = 6.2
X4 = 0
TV spots
newspaper ads
30-second radio spots
1-minute radio spots
To accompany
Quantitative
8-11
2006 by
Prentice Hall,
To accompany
Quantitative
8-12
2006 by
Prentice Hall,
Marketing
Applications
Linear programming has also been
applied to marketing research problems
and the area of consumer research.
The next example illustrates how
statistical pollsters can reach strategy
decisions with LP.
To accompany
Quantitative
8-13
2006 by
Prentice Hall,
Marketing
Applications
Management Sciences Associates (MSA)
1.
2.
3.
4.
5.
6.
To accompany
Quantitative
8-14
2006 by
Prentice Hall,
Marketing Applications
Management Sciences Associates (MSA)
8-15
2006 by
Prentice Hall,
Marketing Applications
Management Sciences Associates (MSA)
Objective function:
minimize total interview costs =
$7.5X1 + $6.8X2 + $5.5X3
+ $6.9X4 + $7.25X5 + $6.1X6
subject to:
X1 + X2 + X3 + X4 + X5 + X6 2,300
X1 +
X4
X2 +
1,000
X5
600
X1 + X2 + X3 0.15(X1 + X2 + X3
+ X4 + X5 + X6)
X3 0.2(X3 + X6)
X1, X2, X3, X4, X5, X6 0
To accompany
Quantitative
8-16
(total households)
(households 30 or
younger) 31-50
(households
in age)
(border states)
(limit on age group
51+ in border state)
2006 by
Prentice Hall,
Marketing Applications
Management Sciences Associates (MSA)
The computer solution to MSAs
problem costs $15,166 and is presented
in the table and screen shot on the next
slide, which illustrates the input and
output from QM for Windows.
Note that the variables in the constraints
are moved to the left-hand side of the
inequality.
To accompany
Quantitative
8-17
2006 by
Prentice Hall,
Marketing Applications
Management Sciences Associates (MSA)
Computer solution for the 6 variables
To accompany
Quantitative
8-18
2006 by
Prentice Hall,
Manufacturing
Applications
Production Mix
A fertile field for the use of LP is in
planning for the optimal mix of
products to manufacture.
A company must meet a myriad of
constraints, ranging from financial
concerns to sales demand to material
contracts to union labor demands.
Its primary goal is to generate the
largest profit possible.
To accompany
Quantitative
8-19
2006 by
Prentice Hall,
Manufacturing
Applications
Fifth Avenue Industries
Four varieties of ties produced:
1. one is an expensive, all-silk tie,
2. one is an all-polyester tie, and
3. two are blends of polyester and
cotton.
The table on the following slide
illustrates the cost and availability
(per monthly production planning
period) of the three materials used
in the production process
To accompany
Quantitative
8-20
2006 by
Prentice Hall,
Manufacturing
Applications
Fifth Avenue Industries
Monthly cost & availability of material
To accompany
Quantitative
8-21
2006 by
Prentice Hall,
Manufacturing
Applications
Fifth Avenue Industries
Data:
8-22
2006 by
Prentice Hall,
Manufacturing
Applications
Fifth Avenue Industries
Calculate profit for each tie:
tie
Profit = Sales price
Cost per yard X Yards per tie
Silk ties = $6.70 $21 x 0.125 = $4.08
Polyester = $3.55 $6 x 0.08 = $3.07
Poly-blend 1 = $4.31 ($6 x 0.05
+ $9 x 0.05) = $3.56
Poly-blend 2 = $4.81 ($6 x 0.03
+ $9 x 0.07) = $4.00
To accompany
Quantitative
8-23
2006 by
Prentice Hall,
Manufacturing
Applications
Fifth Avenue Industries
Objective function:
maximize profit =
$4.08X1 + $3.07X2 + $3.56X3 + $4.00X4
Subject to:
0.125X1
800
0.08X2 + 0.05X3 + 0.03X4 3,000
0.05X3 + 0.07X4 1,600
X1
6,000
X1
7,000
X2
10,000
X2
14,000
X3
13,000
X3
16,000
X4 6,000
X4 8,500
X1, X2, X3, X4 0
To accompany
8-24
2006 by
Quantitative
Prentice Hall,
Manufacturing Applications
Fifth Avenue
Using Solver in Excel, the computergenerated solution is to produce
1.
2.
3.
4.
To accompany
Quantitative
8-25
2006 by
Prentice Hall,
Manufacturing Applications
Fifth Avenue
Formulation for Fifth Avenue Industries LP
Problem Using Solver
To accompany
Quantitative
8-26
2006 by
Prentice Hall,
Manufacturing Applications
Fifth Avenue
Excel Output for Solution to the LP Problem
To accompany
Quantitative
8-27
2006 by
Prentice Hall,
To accompany
Quantitative
8-28
2006 by
Prentice Hall,
Manufacturing
Applications
Production Scheduling
This type of problem resembles the product
mix model for each period in the future.
The objective is either to maximize profit or
to minimize the total cost (production plus
inventory) of carrying out the task.
Production scheduling is well suited to
solution by LP because it is a problem that
must be solved on a regular basis.
When the objective function and constraints
for a firm are established, the inputs can
easily be changed each month to provide an
updated schedule.
To accompany
Quantitative
8-29
2006 by
Prentice Hall,
Manufacturing
Applications
Production Scheduling
Setting a low-cost production schedule over
a period of weeks or months is a difficult
and important management problem.
The production manager has to consider
many factors:
o
o
o
o
o
labor capacity,
inventory and storage costs,
space limitations,
product demand, and
labor relations.
To accompany
Quantitative
8-30
2006 by
Prentice Hall,
Employee Scheduling
Applications
Assignment Problems
Assignment problems involve finding the
most efficient assignment of
o
o
o
o
people to jobs,
machines to tasks,
police cars to city sectors,
salespeople to territories, and so on.
To accompany
Quantitative
8-31
2006 by
Prentice Hall,
Employee Scheduling
Applications
Assignment Problems
Assignment problems are unique because
o they not only have a coefficient of 1
associated with each variable in the LP
constraints;
o the right-hand side of each constraint is also
always equal to 1.
To accompany
Quantitative
8-32
2006 by
Prentice Hall,
Assignment Problem
Ivan and Ivan Law Firm
Example
To accompany
Quantitative
8-33
2006 by
Prentice Hall,
Assignment Problem
Ivan and Ivan Law Firm
Example
0 otherwise
8-34
2006 by
Prentice Hall,
Assignment Problem
Ivan and Ivan Law Firm
Example
Subject to:
X11 + X21 + X31 + X41 = 1
X12 + X22 + X32 + X42 = 1
(divorce case)
(embezzlement)
(merger)
(exhibitionism)
(Adams)
(Carter)
To accompany
Quantitative
8-35
(Brooks)
(Darwin)
2006 by
Prentice Hall,
Assignment Problem
Ivan and Ivan Law Firm
Example
To accompany
Quantitative
8-36
2006 by
Prentice Hall,
Employee Scheduling
Applications
Labor Planning
Labor planning problems address
staffing needs over a specific time
period.
They are especially useful when
managers have some flexibility in
assigning workers to jobs that require
overlapping or interchangeable talents.
Large banks frequently use LP to tackle
their labor scheduling.
To accompany
Quantitative
8-37
2006 by
Prentice Hall,
Alternate Optimal
Solutions
Alternate optimal solutions are
common in many LP problems.
The sequence in which you enter
the constraints into QM for
Windows can affect the solution
found.
No matter the final variable
values, every optimal solution
will have the same objective
function value.
To accompany
Quantitative
8-38
2006 by
Prentice Hall,
Financial Applications
Portfolio Selection
The selection of specific investments
from a wide variety of alternatives is a
problem frequently encountered by
o
o
o
o
managers of banks,
mutual funds,
investment services, and
insurance companies.
To accompany
Quantitative
8-39
2006 by
Prentice Hall,
Financial Applications
Portfolio Selection
To accompany
Quantitative
8-40
2006 by
Prentice Hall,
Financial Applications
Portfolio Selection
To accompany
Quantitative
8-41
2006 by
Prentice Hall,
Financial Applications
Portfolio Selection
To accompany
Quantitative
8-42
2006 by
Prentice Hall,
Financial Applications
Portfolio Selection
subject to:
X1
X1
X1 +
1,000,000
X2
< 2,500,000
X3
< 1,500,000
X4 < 1,800,000
X3 +
X4 > 0.55(X1+X2+X3+X4)
> 0.15(X 1+X2+X3+X4)
X2 +
X3 +
X4 < 5,000,000
X1, X2, X3, X4 > 0
SOLUTION:
Maximum interest is earned by making X1 = $750,000, X2 =
$950,000, X3 = $1,500,000, and X4 = $1,800,000.
Total interest earned = $712,000
To accompany
Quantitative
8-43
2006 by
Prentice Hall,
Transportation
Applications
Shipping Problem
8-44
2006 by
Prentice Hall,
Transportation
Applications
Shipping Problem
To accompany
Quantitative
8-45
2006 by
Prentice Hall,
Transportation
Applications
Shipping Problem
CITY
DEMAND
New York
10,000
Chicago
8,000
Los Angeles 15,000
New Orleans
NA
Omaha
NA
To accompany
Quantitative
8-46
CAPACITY
NA
NA
NA
20,000
15,000
2006 by
Prentice Hall,
Transportation
Applications
Shipping Problem
From
To
New Orleans
Omaha
New York
$2
$3
Chicago
$3
$1
Los Angeles
$5
$4
The company wishes to develop a shipping
schedule that will minimize its total annual
transportation costs.
To accompany
Quantitative
8-47
2006 by
Prentice Hall,
Transportation
Applications
Shipping Problem
To accompany
Quantitative
8-48
2006 by
Prentice Hall,
Transportation
Applications
Shipping Problem
Subject to:
X11 + X21 = 10,000
X12 + X22 = 8,000
X13 + X23 = 15,000
X11 + X12 + X13 10,000
X21 + X22 + X23 15,000
All variables > 0
To accompany
Quantitative
8-49
2006 by
Prentice Hall,
Transportation
Applications
Shipping Problem
From
New Orleans
To
New York
10,000
Chicago
0
Los Angeles
8,000
To accompany
Quantitative
8-50
Omaha
0
8,000
7,000
2006 by
Prentice Hall,
Transportation
Applications
Shipping Problem
To accompany
Quantitative
8-51
2006 by
Prentice Hall,
Transshipment
Applications
To accompany
Quantitative
8-52
2006 by
Prentice Hall,
Transshipment
Applications
Distribution Centers
Frosty Machines
The figure below illustrates the basic network
representation of this example:
To accompany
Quantitative
8-53
2006 by
Prentice Hall,
Transshipment
Applications
Distribution Centers
Frosty Machines
To accompany
Quantitative
8-54
2006 by
Prentice Hall,
Transshipment
Applications
Distribution Centers
Frosty Machines
The goal is to minimize the transportation
costs associated with shipping sufficient
supply to meet the demands at the three
destinations while not exceeding the
supply of each factory.
Therefore, we have supply and demand
constraints similar to the transportation
problem.
Since there are no units being produced in
Chicago or Buffalo, anything shipped
from these transshipment points must have
arrived from either Toronto or Detroit.
Therefore, Chicago and Buffalo will each
have a constraint indicating this.
To accompany
Quantitative
8-55
2006 by
Prentice Hall,
Transshipment
Applications
Distribution Centers
Frosty Machines
Statement of the Problem:
Minimize cost, subject to:
1. The number of units shipped from Toronto is not
more than 800.
2. The number of units shipped from Detroit is not
more than 700.
3. The number of units shipped to New York is 450.
4. The number of units shipped to Philadelphia is
350.
5. The number of units shipped to St. Louis is 300.
6. The number of units shipped out of Chicago is
equal to the number of units shipped into
Chicago.
7. The number of units shipped out of Buffalo is
equal
8. to the number of units shipped into Buffalo.
To accompany
Quantitative
8-56
2006 by
Prentice Hall,
Ingredient Blending
Applications
Diet Problems
To accompany
Quantitative
8-57
2006 by
Prentice Hall,
Ingredient Blending
Applications
Diet Problems
To accompany
Quantitative
8-58
2006 by
Prentice Hall,
Ingredient Blending
Applications
Diet Problems
To accompany
Quantitative
8-59
2006 by
Prentice Hall,
Ingredient Blending
Applications
Diet Problems
To accompany
Quantitative
8-60
2006 by
Prentice Hall,
Ingredient Blending
Applications
Diet Problems
To accompany
Quantitative
8-61
2006 by
Prentice Hall,
Ingredient Blending
Applications
Ingredient Mix or Blending Problems
To accompany
Quantitative
8-62
2006 by
Prentice Hall,