Linear Programming
Linear Programming
Linear Programming
7-2
Requirements of a Linear Programming
Problem
7-3
Basic Assumptions of LP
HOURS REQUIRED TO
PRODUCE 1 UNIT
(T) (C) AVAILABLE HOURS
DEPARTMENT TABLES CHAIRS THIS WEEK
Carpentry 4 3 240
Table 7.2
100 –
– This Axis Represents the Constraint T ≥ 0
80 –
Number of Chairs
–
60 –
–
40 – This Axis Represents the
– Constraint C ≥ 0
20 –
–
|– | | | | | | | | | | |
Figure 7.1 0 20 40 60 80 100 T
Number of Tables Copyright ©2012 Pearson Education, 7-
Inc. publishing as Prentice Hall 15
Graphical Representation of a Constraint
100 –
–
80 –
Number of Chairs
(T = 0, C = 80)
–
60 –
–
40 –
–
(T = 60, C = 0)
20 –
–
Figure 7.2 |– | | | | | | | | | | |
0 20 40 60 80 100 T
Copyright ©2012 Pearson Education, 7-
Number of Tables Inc. publishing as Prentice Hall 18
Graphical Representation of a Constraint
100 – (T = 0, C = 100)
–
80 –
Number of Chairs
–
60 –
–
40 –
–
(T = 50, C = 0)
20 –
–
|– | | | | | | | | | | |
Figure 7.4
0 20 40 60 80 100 T
Copyright ©2012 Pearson Education, 7-
Number of Tables Inc. publishing as Prentice Hall 21
Graphical Representation of a Constraint
100 –
–
80 –
Number of Chairs
Painting/Varnishing Constraint
–
60 –
–
40 –
–
Carpentry Constraint
20 – Feasible
– Region
|– | | | | | | | | | | |
Figure 7.5
0 20 40 60 80 100 T
Number of Tables Copyright ©2012 Pearson Education, 7-
Inc. publishing as Prentice Hall 23
Graphical Representation of a Constraint
100 –
–
80 –
Number of Chairs
–
60 –
– $2,100 = $70T + $50C
(0, 42)
40 –
–
(30, 0)
20 –
–
|– | | | | | | | | | | |
Figure 7.6
0 20 40 60 80 100 T
Copyright ©2012 Pearson Education, 7-
Number of Tables
Inc. publishing as Prentice Hall 28
Isoprofit Line Solution Method
Four Isoprofit Lines Plotted for the Flair
Furniture Company
C
100 –
–
$3,500 = $70T + $50C
80 –
Number of Chairs
100 –
–
80 –
Number of Chairs
100 –
2 –
80 –
Number of Chairs
–
60 –
–
3
40 –
–
20 –
–
1 |– | | | | | | | | | | |
Figure 7.9 0 20 40 60 80 100
4 T
Number of Tables Copyright ©2012 Pearson Education, 7-
Inc. publishing as Prentice Hall 32
Corner Point Solution Method
ISOPROFIT METHOD
1. Graph all constraints and find the feasible region.
2. Select a specific profit (or cost) line and graph it to find the slope.
3. Move the objective function line in the direction of increasing profit (or
decreasing cost) while maintaining the slope. The last point it touches in the
feasible region is the optimal solution.
4. Find the values of the decision variables at this last point and compute the
profit (or cost).
CORNER POINT METHOD
1. Graph all constraints and find the feasible region.
2. Find the corner points of the feasible reason.
3. Compute the profit (or cost) at each of the feasible corner points.
4. Select the corner point with the best value of the objective function found in
Step 3. This is the optimal solution.
Table 7.4
7-
37
Copyright ©2012 Pearson Education, 7-
Inc. publishing as Prentice Hall 38
Four Special Cases in
Linear Programming
Four special cases and difficulties arise at times
when using the graphical approach to solving LP
problems
Four Special Cases in Linear
Programming:
1. No Feasible Solution (Infeasibility)
2. Unboundedness
3. Redundancy
4. Alternate Optimal Solutions
1. No Feasible Solution
(Infeasibility)
Lack of a feasible solution region can occur if constraints conflict
with one another.
Graphically, it means that no feasible solution region exists—a
situation that might occur if the problem was formulated with
conflicting constraints.
This, by the way, is a frequent occurrence in real-life, large-scale LP
problems that involve hundreds of constraints.
For example, if one constraint is supplied by the marketing manager
who states that at least 300 tables must be produced (namely, X1 ≥
300) to meet sales demand, and a second restriction is supplied by
the production manager, who insists that no more than 220 tables be
produced (namely, X2 ≤ 220) because of a lumber shortage, no
feasible solution region results.
As a further graphic illustration of this, let us consider the
following three constraints:
2. Unboundedness
This means that in a maximization problem, for example, one or
more solution variables, and the profit, can be made infinitely large
without violating any constraints.
If we try to solve such a problem graphically, we will note that the
feasible region is open ended.
As you see in figure, because this is a maximization problem
and the feasible region extends infinitely to the right, there is
unboundedness, or an unbounded solution. This implies that
the problem has been formulated improperly. It would
indeed be wonderful for the company to be able to produce an
infinite number of units of X1 (at a profit of $3 each!), but
obviously no firm has infinite resources available or infinite
product demand.
3. Redundancy
A redundant constraint is simply one that does not affect the
feasible solution region.
In other words, one constraint may be more binding or
restrictive than another and thereby negate its need to be
considered.
Example:
Three constraints:
The third constraint, is redundant and unnecessary in
the formulation and solution of the problem because it
has no effect on the feasible region set from the first
two more restrictive constraints.
4. Alternate Optimal Solution
Postoptimality Analysis
- examining changes after the optimal
solution has been reached.
- done without resolving the whole
problem.
Example:
The High Note Sound Company manufactures quality compact disc (CD)
players and stereo receivers. Each of these products requires a certain
amount of skilled artisanship, of which there is a limited weekly supply. The firm
formulates the following LP problem in order to determine the best production
mix of CD players (X1) and receivers (X2):
Given this information and deterministic assumptions,
the firm should produce only stereo receivers (20 of
them), for a weekly profit of $2,400.
For the optimal solution, the electrician hours used are:
2X1 + 4X2 = 2(0) + 4(20) = 80
And this equals the amount available, so there is 0
slack for this constraint. Thus, it is a binding
constraint. If a constraint is binding, obtaining
additional units of that resource will usually result in
higher profits. The audio technician hours used are
for the optimal solution (0, 20) are:
| c | | |
0–
| |
X1
10 20 30 40
Figure 7.1750 60
To accompany
Quantitative Analysis for Management, Eleventh Edition, Global Edition
by Render, Stair, and Hanna
Power Point slides created by Brian Peterson
Learning Objectives
After completing this chapter, students will be able to:
8.1 Introduction
8.2 Marketing Applications
8.3 Manufacturing Applications
8.4 Employee Scheduling Applications
8.5 Financial Applications
8.6 Ingredient Blending Applications
8.7 Transportation Applications
Program 8.1
subject to
X1 + X2 + X3 + X4 + X5 + X6 ≥ 2,300 (total households)
X1 + X4 ≥ 1,000 (households 30 or younger)
X2 + X5 ≥ 600 (households 31-50)
X1 + X2 + X3 ≥ 0.15(X1 + X2+ X3 + X4 + X5 + X6) (border states)
X3 ≤ 0.20(X3 + X6) (limit on age group 51+ who can live in
border state)
X1, X2, X3, X4, X5, X6 ≥ 0
Program 8.2
MATERIAL
SELLING MONTHLY REQUIRED
VARIETY OF PRICE PER CONTRACT MONTHLY PER TIE MATERIAL
TIE TIE ($) MINIMUM DEMAND (YARDS) REQUIREMENTS
All silk 19.24 5,000 7,000 0.125 100% silk
Table 8.1
Program 8.3
Table 8.2
Copyright © 2012 Pearson
Education 8-95
Greenberg Motors
Production planning at Greenberg must consider four
factors:
◦ Desirability of producing the same number of motors each month
to simplify planning and scheduling.
◦ Necessity to keep inventory carrying costs down.
◦ Warehouse limitations.
◦ Its no-lay-off policy.
LP is a useful tool for creating a minimum total cost
schedule the resolves conflicts between these factors.
Inventory Current
Inventory at Sales to
at the end month’s
of last + production – the end of = Drexel this
this month month
month
IA1 = 0 + A1 – 800
IB1 = 0 + B1 – 1,000
Rewritten as January’s constraints:
A1 – IA1 = 800
B1 – IB1 = 1,000
Program 8.4
Table 8.3
Total cost for this four month period is
$169,294.90.
Complete model has 16 variables and 22
constraints.
Copyright © 2012 Pearson
Education 8-105
Employee Scheduling Applications
Labor Planning
These problems address staffing needs over a
particular time.
They are especially useful when there is some
flexibility in assigning workers that require
overlapping or interchangeable talents.
Table 8.4
Copyright © 2012 Pearson
Education 8-108
Hong Kong Bank of Commerce and
Industry
Part-time hours are limited to a maximum of 50%
of the day’s total requirements.
Part-timers earn $8 per hour on average.
Full-timers earn $100 per day on average.
The bank wants a schedule that will minimize
total personnel costs.
It will release one or more of its part-time tellers if
it is profitable to do so.
Program 8.5
Program 8.6
Program 8.7
Diet Problems
◦ This is one of the earliest LP applications, and is used to
determine the most economical diet for hospital
patients.
◦ This is also known as the feed mix problem.
NUTRIENT USRDA
Protein 3 units
Riboflavin 2 units
Phosphorus 1 unit
Magnesium 0.425 unit
Let
XA = pounds of grain A in one 2-ounce serving of cereal
XB = pounds of grain B in one 2-ounce serving of cereal
XC = pounds of grain C in one 2-ounce serving of cereal
Table 8.5
Copyright © 2012 Pearson
Education 8-128
Whole Food Nutrition Center
subject to
22XA + 28XB + 21XC ≥ 3 (protein units)
16XA + 14XB + 25XC ≥ 2 (riboflavin units)
8XA + 7XB + 9XC ≥ 1 (phosphorous units)
5XA + 0XB + 6XC ≥ 0.425 (magnesium units)
XA + XB + XC = 0.125 (total mix)
XA, XB, XC ≥ 0
Program 8.8
So
0.35X1 + 0.60X3 ≥ 0.45X1 + 0.45X3
or
– 0.10X1 + 0.15X3 ≥ 0 (ingredient A in regular constraint)
Copyright © 2012 Pearson
Education 8-134
Low Knock Oil Company
Problem formulation
Program 8.9
TO
FROM NEW YORK CHICAGO LOS ANGELES
New Orleans $2 $3 $5
Omaha $3 $1 $4
Figure 8.1
Program 8.10
8-
Copyright © 2012 Pearson Education 145
8-
Copyright © 2012 Pearson Education 146
LINEAR
PROGRAMMI
NG
APPLICATIO
NS
Marketing Application
Manufacturing Application
Employee Scheduling Application
Financial Application
Ingredient Blending Application
Transportation Application
Media Selection
Marketing
Research
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:
◦ Maximize audience exposure.
◦ Minimize advertising costs.
Win Big Gambling
Club
The Win Big Gambling Club promotes gambling
junkets to the Bahamas.
It has $8,000 per week to spend on local
advertising.
Its goal is to reach the largest possible high-
potential audience.
It needs to place at least five radio spots per week.
No more than $1,800 can be spent on radio
advertising each week.
Win Big Gambling
Club
Advertising options
1 22,500 7,500
2 24,000 7,500
3 8,000 3,000
4 9,500 3,500
5 11,500 4,000
6 9,750 3,500
Goodman Shipping
The objective is to maximize the value of items loaded into the truck.
The truck has a capacity of 10,000 pounds.
The decision variable is:
Xi = proportion of each item i loaded on the truck
Goodman Shipping
Objective:
NUTRIENT USRDA
Protein 3 units
Riboflavin 2 units
Phosphorus 1 unit
Magnesium 0.425 unit
Whole Food Nutrition Center
Let
XA = pounds of grain A in one 2-ounce serving of cereal
XB = pounds of grain B in one 2-ounce serving of cereal
XC = pounds of grain C in one 2-ounce serving of cereal
subject to
22XA + 28XB + 21XC ≥ 3 (protein units)
16XA + 14XB + 25XC ≥ 2 (riboflavin units)
8XA + 7XB + 9XC ≥ 1 (phosphorous units)
5X A + 0XB + 6XC ≥ 0.425 (magnesium units)
XA + XB + XC = 0.125 (total mix)
XA, XB, XC ≥ 0
Whole Food Diet Solution in Excel
INGREDIENT MIX AND BLENDING PROBLEMS
TO
FROM NEW YORK CHICAGO LOS ANGELES
New Orleans $2 $3 $5
Omaha $3 $1 $4
The company wants to develop a shipping schedule that will minimize its
total annual cost.
Top Speed Bicycle Company
The double subscript variables will represent the origin factory and the destination
warehouse:
Xij = bicycles shipped from factory i to warehouse j
So:
X11 = number of bicycles shipped from New Orleans to New York
X12 = number of bicycles shipped from New Orleans to Chicago
X13 = number of bicycles shipped from New Orleans to Los Angeles
X21 = number of bicycles shipped from Omaha to New York
X22 = number of bicycles shipped from Omaha to Chicago
X23 = number of bicycles shipped from Omaha to Los Angeles
Top Speed Bicycle Company
Objective:
Minimize total
shipping costs = 2X11 + 3X12 + 5X13 + 3X21 + 1X22 + 4X23
TO
FROM NEW YORK CHICAGO LOS ANGELES
New Orleans 10,000 0 8,000
Omaha 0 8,000 7,000