Chapter 7
Chapter 7
Chapter 1
Introduction to
Quantitative
Analysis
where
s = selling price per unit v = variable
cost per unit
f = fixed cost X=
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
How to Develop a Quantitative Analysis
Model (3 of 3)
Profit = Revenue Fixed cost + Variable cost)
− ( The parameters of this
Profit = (Selling per unit)(Number
model of units
are f, v, and s as
price [Fixed cost sold)
these− are
(Variable costs per
the inputs
+ units inherent in the
unit)(Number of model.
sold)]
The decision variable of
Profit = sX − [f + interest is X.
vX]
Profit where
= sX − f −
vX
s = selling price per unit v = variable cost
per unit
f = fixed cost X = number of
units sold Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Pritchett’s Precious Time Pieces (1 of 3)
• The company buys, sells, and repairs old clocks
– Rebuilt springs sell for $8 per unit
– Fixed cost of equipment to build springs is
$1,000
– Variable cost for spring material is $3 per unit
s=8 f = 1,000 v=3
Number of spring sets sold = X
Profits = $8X − $1,000 − $3X
If sales = 0, profits = − f = − $1,000
If sales = 1,000, profits = [($8)(1,000) − $1,000 −
($3)(1,000)]
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
= $4,000
Pritchett’s Precious Time Pieces (2 of 3)
• Companies are often interested in the break-even
point (BEP), the BEP is the number of units sold
that will result in $0 profit
0 = sX − f − vX, or 0 =
(s − v)X − f
Solving for X, we have
f = (s −
v)X X =
f÷(s − v)
Fixed
BEP
cost
(Selling price per unit) (Variable cost
=
per unit)
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Pritchett’s Precious Time Pieces (3 of 3)
Chapter 3
Decision
Analysis
STATE OF NATURE
FAVORABLE UNFAVORABLE
MARKET MARKET
ALTERNATIVE ($) ($)
1. Maximax (optimistic)
2. Maximin (pessimistic)
3. Criterion of realism (Hurwicz)
4. Equally likely (Laplace)
5. Minimax regret
STATE OF NATURE
FAVORABLE UNFAVORABLE
MARKET MARKET
($) ($)
200,000 − 0−
200,000 (−180,000)
200,000 − 0−
100,000 (−20,000)
200,000 − 0Copyright © 2018 Pearson
0 Education,
− 0 Ltd. All Rights Reserved
Minimax Regret (3 of 4)
TABLE 3.7 Opportunity Loss Table for Thompson
Lumber
STATE OF UNFAVORABLE
FAVORABLE NATURE
MARKET MARKET
ALTERNATIVE ($) ($)
Construct a large 0 180,000
plant
Construct a small 100,000 20,000
plant
Do nothing 200,000 0
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Minimax Regret (4 of 4)
TABLE 3.8 Thompson’s Minimax Decision
Using Opportunity Loss
STATE OF NATURE
FAVORABLE UNFAVORABLE MAXIMUM IN
MARKET MARKET A ROW
ALTERNATIVE ($) ($) ($)
Construct a large 0 180,000 180,000
plant
Construct a small 100,000 20,000 100,000
plant
Minimax
Do nothing 200,000 0 200,000
STATE OF NATURE
FAVORABLE UNFAVORABLE
MARKET MARKET
ALTERNATIVE ($) ($) EMV ($)
Construct a large 200,000 −180,000 10,000
plant
Construct a small 100,000 −20,000 40,000
plant
Best EMV
Do nothing 0 0 0
Probabilities 0.50 0.50
STATE OF NATURE
FAVORABLE UNFAVORABLE
MARKET MARKET
ALTERNATIVE ($) ($) EMV ($)
Construct a large 200,000 −180,000 10,000
plant
Construct a small 100,000 −20,000 40,000
plant
Do nothing 0 0 0
With perfect 200,000 0 100,000
information
EVwPI
Probabilities 0.50 0.50
0 $120,000P 20,000
P 120,00
$20,000 0.167
0
P 160,000
0.615
260,000 Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Sensitivity Analysis (4 of 4)
FIGURE 3.1 Sensitivity
Analysis
USAGE PROBABILITY
10,000 0.40
20,000 0.30
30,000 0.30
20,000 30,000
10,000 COPIES
COPIES PER COPIES PER
PER MONTH
MONTH MONTH MAXIMUM EOL
Machine A 250 50 0 250 115
$106,40
$63,600 Favorable Market (0.78)
Small $90,000
Unfavorable Market (0.22)
Plant –$30,000
No Plant
0
–$10,000
–$87,400 Favorable Market (0.27)
$190,000
Unfavorable Market (0.73)
–$190,000
$2,400 Favorable Market (0.27)
$2,40
Small $90,000
Unfavorable Market (0.73)
Plant –$30,000
0
No Plant
–$10,000
$49,20
No Plant
3-51 $0
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
3-
52
Chapter
5
Forecasting
◆ Process of predicting
a future event
◆ Underlying basis
?
of all business
decisions ?
◆ Production
◆ Inventory
◆ Personnel
◆ Facilities
Principles of
Forecasting
Many types of forecasting models that
differ
in complexity and amount of data
they use, and the way they generate
forecasts:
1. Forecasts are rarely perfect
5
Introduction
■ Managers are always trying to reduce
uncertainty and make better estimates of what
will happen in the future.
■ This is the main purpose of forecasting.
■ Some firms use subjective methods: intuition,
experience, guessing.
■ There are also several quantitative techniques,
including:
■ Moving averages
■ Exponential smoothing
■ Trend projections
■ Least squares regression analysis
(a
) 330 ■ Sales appear to be
Annual Sales of Televisions
150 | | | |
| | | | | |
–0 1 2 3 4
5 6 7 Tim8e
100 (Y9ears1)0
Figure
5.2a –
Copyright © 2012 Pearson
5-
14
Scatter Diagram for Radios
(b
420
) ■ Sales appear to be
–
increasing at a
400 ●
● constant rate of 10
– ●
● radios per year
Annual Sales of
380 ●
– ●
● Sales = 290 +
●
360 ● 10(Year)
●
Radios
– ■ A reasonable
34 0
| | | |
estimate of sales
| –|
| | | | in year 11 is 400
0 1 2 3 4
3206 7 Time
8 (Years)
9 10
radios.
5
–
Figure
5.2b 300
–
Copyright © 2012 Pearson 5-
Education 15
Scatter Diagram for CD Players
■ This trend line may
(c 200 not be perfectly
)
–
● ● accurate because
●
of variation from
180
year to year
Annual Sales of CD
●
●
– ● ■ Sales appear to be
●
160 increasing
● ■ A forecast would
Players
–●
● probably be a
140
| | | |
larger figure each
|
–| 0
|
1
|
2
|
3
|
4
year
7 Tim8e
5 1206 (Y9ears1)0
Figure –
5.2c
100
Copyright © 2012 Pearson 5-
Education 16
Measures of Forecast Accuracy
Trend
Component
Demand for Product or
Seasonal
Peaks
Service
Actual
Demand
Line
Average Demand
over 4 Years
| | | |
Where:
= forecast for time period t + 1
= actual value in time period t
n = number of periods to
average
■ Mathematically:
where
wi = weight for the i t h
Copyright © 2012 Pearson
observation 5-28
Education
Wallace Garden Supply
Three months
3 x Sales last month + 2 x Sales two months ago + 1 XaSgaoles three months
ago 6 Sum of the
weights
Copyright © 2012 Pearson 5-29
Education
Wallace Garden Supply
THREE-MONTH WEIGHTED
MONTH ACTUAL SHED SALES MOVING AVERAGE
January 10
February 12
March 13
[(3 X 13) + (2 X 12) + (10)]/6 = 12.17
April 16
[(3 X 16) + (2 X 13) + (12)]/6 = 14.33
May 19
[(3 X 19) + (2 X 16) + (13)]/6 = 17.00
June 23 [(3 X 23) + (2 X 19) + (16)]/6 = 20.50
July 26 [(3 X 26) + (2 X 23) + (19)]/6 = 23.83
August 30 [(3 X 30) + (2 X 26) + (23)]/6 = 27.50
[(3 X 28) + (2 X 30) + (26)]/6 = 28.33
September 28
[(3 X 18) + (2 X 28) + (30)]/6 = 23.33
October 18
[(3 X 16) + (2 X 18) + (28)]/6 = 18.67
November 16 [(3 X 14) + (2 X 16) + (18)]/6 = 15.33
14
DeTcaebml
— 5-
30
Exponential Smoothing
■ Exponential smoothing is a type of moving
average that is easy to use and requires little
record keeping of data.
Where:
F t + 1 = new forecast (for time period t +
1) F t = pervious forecast (for time
period t) α = smoothing constant (0 ≤ α
≤ 1)
Yt = pervious period’s actual
demand
n Σxy - Σx Σy
r
[n Σx 2
- (Σx )2][n
=
Σy 2 -
(yΣ
)2]
Correlation
Coefficient
y y
(b) x
(a) Perfect x Positive
positive correlation:
correlation: 0<r<1
y
r = +1 y
(d) Perfect x
(c) No correlation: x negative
r=0 correlation:
r = -1
Correlation
◆ Coefficient of Determination, r
2
,
measures the percent of
change iny predicted by the
change inx
◆ Values range from 0 to 1
◆ Easy to interpret
For the Nodel
Construction example:
Common Measures of
Error
Mean Absolute
Deviation
(MAD) ∑ |Actual
MA -
D
= nForecast|
Mean Squared
Error
(MSE ∑
)
(Forecast
MSE
nErrors)2
=
Comparison of Forecast
ErrorRounded Absolute
Absolute Actual Forecast
Rounded
Deviation
Forecast Deviation Tonnage with for
with
Quarter Unloaded for= .10 α = .10 α = .50 α
α
= .50
1 180 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 175.02 29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
Comparison of st
∑
Foreca
MA | Error
Absolute
Deviation
= Rounded Absolute
D deviations| = .50
For α
Rounded Actual Forecast
Deviation Forecast Tonnage
= with forn with for
Quarter Unloaded α = .10 α = .10 α
.10
= .50 = 82.45/8
α
For
1 α = = 180 175 5.00 175
.5
10.31 = 98.62/8
5.00
02 168 175.5
12.33
= 7.50
177.50 9.50 186.30 4.30
8 182 178.22 3.78
3 159 174.75 15.75
82.45 98.62
172.75 13.75
4 175 173.18 1.82
165.88 9.12
5 190 173.36 16.64
Quantitative
Analysis for
TMh rateenntah Egdeitiomn,
Gelonbatl Edition
Chapter 7
Linear Programming
Models: Graphical and
Computer Methods
• The objective is
Maximize profit
• The constraints are
1. The hours of carpentry time used cannot
exceed 240 hours per week
2. The hours of painting and varnishing
time used cannot exceed 100 hours per
week
• The decision variables are
T = number of tables to be produced per
week
C = number of chairs to be produced per
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
week
Flair Furniture Company (4 of 6)
• Similarly
Painting and varnishing time used
≤ Painting and varnishing time
available
2 T + 1C ≤ 100 (hours of painting and
varnishing time)
4T + 3C = 240
• Solve for the axis intercepts and draw the
line
– New constraint
T + C ≥ 42
– If T = 20 and C = 25, then
20 + 25 = 45
Surplus = 45 − 42 = 3
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Summaries of Graphical
Solution Methods
TABLE 7.4 Summaries of Graphical Solution
Methods
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
5. Graph all constraints and find the feasible region.
6. Find the corner points of the feasible region.
7. Compute the profit (or cost)
Copyright at each
© 2018 ofEducation,
Pearson the feasible corner
Ltd. All Rights Reserved
Solving Flair Furniture’s LP
•Problem
Most organizations have access to software to
solve big LP problems
• There are differences between software
implementations, the approach is basically the
same
• With experience with computerized LP
algorithms, it is easy to adjust to minor
changes
FIGURE 7.12 A
problem with
no feasible
solution
≥0
Module 7
Linear Programming:
The Simplex Method
2T + 1C + S1 = 100
2(40) + 1(10) + S1 = 100
S1 = 10
ns
um
ol
sc
ix
s
le
t
m
ni
le
b
b
n ru
ns ria
n
ia
n t
n o
m n
m e
m a
ar
m ti
lu ta
lu t p
lu k v
lu uc
lv
co ons
co rofi
co lac
co od
a
Re
Pr
C
P
Cj $70 $50 $0 $0
SOLUTION
MIX T C S1 S2 QUANTITY
$0 S1 2 1 1 0 100
$0 S2 4 3 0 1 240
COLUMN
T C S1 S2
Cj for column $70 $50 $0 $0
Zj for column 0 0 0 0
Cj − Zj for column $70 $50 $0 $0
For S1,
For S2,
Zj $0 $0 $0 $0 $0
Cj − Zj $70 $50 $0 $0
Pivot
column
0 = 4 – (4) × (1)
1 = 3 – (4) × (0.5)
−2 = 0 – (4) × (0.5)
1 = 1 – (4) × (0)
• The second
tableau
Cj SOLUTION MIX T C S1 S2 QUANTITY
$0 S2 0 1 −2 1 40
T COLUMN
C S1 S2
Cj for column $70 $50 $0 $0
Zj for column $70 $35 $35 $0
Cj − Zj for column $0 $15 −$35 $0
• The new C
row
Cj SOLUTION MIX T C S1 S2 QUANTITY
$5 C 0 1 − 1 4
0 2 0
1 = 1 – (0.5) × (0)
0 = 0.5 – (0.5) × (1)
1.5 = 0.5 – (0.5) × (−2)
−0.5 = 0 – (0.5) × (1)
30 = 50 – (0.5) × (40)
$50 C 0 1 −2 1 40
Cj $70 $50 $0 $0
SOLUTION
MIX T C S1 S2 QUANTITY
$70 T 1 0 1.5 −0.5 30
$50 C 0 1 −2 1 40
Zj $70 $50 $5 $15 $4,100
Cj − Zj $0 $0 −$5 −$15
where
X1 = number of
pounds of
phosphate
X2 =Copyright
number ofPearson Education, Ltd. All Rights Reserved
© 2018
Graphical Analysis
FIGURE M7.3 Muddy River Chemical
Corporation’s Feasible Region Graph
$M A1 1 1 0 0 1 0 1,000
$0 S1 1 0 1 0 0 0 300
$M A2 0 1 0 − 0 1 150
1
COLUMN
X1 X2 S1 S2 A1 A2
Cj for column $5 $6 $0 $0 $M $M
SOLUTION
MIX X1 X2 S1 S2 A1 A2 QUANTITY
$M A1 1 1 0 0 1 0 1,000
$0 S1 1 0 1 0 0 0 300
$M A2 0 1 0 −1 0 1 150 Pivot
row
Pivot number
Zj $M $2M 0 −$ $M $M $1,150M
Cj − −$M + −$2M + M
$M $0
Zj $5 $0
P$6ivot$0
column
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
First Simplex Tableau (4 of 4)
In vector format
A1 Row S1 Row
1 = 1 − (1) 1 = 1 − (0)
(0) (0)
0 = 1 − (1) 0 = 0 − (0)
1 = 0 − (1) (1) 0 = 0 − (0)
(1)
1 =1
0(−1)0 − (1)(0)
(1) 10 =
=(−1)
10 −
− (0)
(0)(0)
(0)−1 = 0 − (1)(1)
(0) 0= 0−
(0)(1)
850 = 1,000 − (1) 300 = 300 − (0)
(150) (150)
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Developing a Second Tableau (2
of 3)
Zj (for X1) = $ M(1) + $0(1) + $6(0) =$M
Zj (for X2) = $ M(0) + $0(0) + $6(1) = $6
Zj (for S1) = $ M(0) + $0(1) + $6(0) = $0
Zj (for S2) = $ M(1) + $0(0) + $6(−1) =$M−6
Zj (for A1) = $ M(1) + $0(0) + $6(0) =$M
Zj (for A2) =$ + $0(0) + $6(1) = −$ M + 6
M(−1)
Zj (for total cost) =$ + $0(300) + $6(150) = $850M + 900
M(850)
COLUMN
X1 X2 S1 S2 A1 A2
Cj for column $ $ $0 $0 $M $M
5 6
Zj for column $M $ $0 $M − $M −$M + 6
6 6
Cj − Zj for column −$M +Copyright
$5 $0© 2018 Pearson
$0 Education,
−$M + $0 $2M − 6
Ltd. All Rights Reserved
6
Developing a Second Tableau (3
of 3)
TABLE M7.8 Second Simplex Tableau for the Muddy
River Chemical Corporation Problem
Cj $5 $6 $0 $0 $M $M
SOLUTION
MIX X1 X2 S1 S2 A1 A2 QUANTITY
$M A1 1 0 0 1 1 −1 850
$0 S1 1 0 1 0 0 0 300 Pivot
row
Pivot number
$6 X2 0 1 0 −1 0 1 150
Zj $M $6 $0 $M − 6 $M −$M + 6 $850M +
$900
Cj − Zj Pivot
−$M + $5 $0 $0 −$M + 6 $0 $2M − 6
column
A1 Row X2 Row
0 = 1 − (1)(1) 0 = 0 − (0)(1)
0 = 0 − (1)(0) 1 = 1 − (0)(0)
−1 0 − (1)(1) 0 = 0 − (0)(1)
=
1 = 1 − (1)(0) −1 = −1 − (0)
(0)
550 1==850
1−− (1)(0)
(1) 0150
= 0=−150
(0)(0)
− (0)
(150)−1 −1 − (1) 1(300)
= 1 − (0)(0)
= (0)
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Developing a Third Tableau (2 of
3)
Zj (for X1) = $ M(0) + $5(1) + $6(0) = $5
Zj (for X2) = $ M(0) + $5(0) + $6(1) = $6
Zj (for S1) = $ M(−1) + $5(1) + $6(0) = −$ M + 5
Zj (for S2) = $ M(1) + $5(0) + $6(−1) =$M−6
Zj (for A1) = $ M(1) + $5(0) + $6(0) =$M
Zj (for A2) = $ M(−1) + $5(0) + $6(1) = −$ M + 6
Zj (for total cost) =$ + + $6(150) = $550M + 2,400
M(550) $5(300)
COLUMN
X1 X2 S1 S2 A1 A2
Cj for column $5 $6 $0 $0 $M $M
SOLUTION
MIX X1 X2 S1 S2 A1 A2 QUANTITY
550 Pi
$M A1 0 0 −1 1 1 −1 Pivotvot
row
$5 X1 1 0 1 0 0 0 300
numb er
$6 X2 0 1 0 −1 0 1 150
Zj $5 −$M + $M − $M −$M $550M +
$6 5 6 +6 2,400
Cj − Zj
$0 $M − −$M + $0 $2M
$0 5 6 −6
Pivot
column
X1 Row X2 Row
1 = 1 − (0)(0) 0 = 0 − (−1)
(0)
0 = 0 − (0)(0) 1 = 1 − (−1)
(0)
1 = 1 − (0) −1 0 − (−1)(−1)
(−1) =
0=
300 0 −−(0)(1)
= 300 (0) 0= −1700− (−1)150 − (−1)
(550) (1)= (550)
0 = 0 − (0)(1) 1= 0 − (−1)
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
(1)
Developing a Fourth Tableau (2
of 3)
Zj (for X1) = $0(0) + $5(1) + $6(0) = $5
Zj (for X2) = $0(0) + $5(0) + $6(1) = $6
Zj (for S1) = $0(−1) + $5(1) + $6(−1) = −$1
Zj (for S2) = $0(1) + $5(0) + $6(0) = $0
Zj (for A1) = $0(1) + $5(0) + $6(1) = $6
Zj (for A2) = $0(−1) + $5(0) + $6(0) = $0
Zj (for total = + + $6(700) = $5,700
cost) $0(550) $5(300)
COLUMN
X1 X2 S1 S2 A1 A2
Cj for column $5 $6 $0 $0 $M $M
Cj − Zj for $0 $0 $1 $0 $M − 6 $M
column
Cj $5 $6 $0 $0 $M $M
SOLUTION
MIX X1 X2 S1 S2 A1 A2 QUANTITY
$0 S2 0 0 −1 1 1 −1 550
$5 X1 1 0 1 0 0 0 300
$6 X2 0 1 −1 0 1 0 700
Zj $5 $6 −$1 $0 $6 $0 $5,700
Cj − Zj $0 $0 $1 $0 $M − 6 $M
• Infeasibility
– Infeasibility occurs when there is no solution
that satisfies all of the problem’s
constraints
TABLE M7.11 Illustration of Infeasibility
Cj $5 $8 $0 $0 $M $M
SOLUTION
MIX X1 X2 S1 S2 A1 A2 QUANTITY
$5 X1 1 0 −2 3 −1 −0 200
$8 X2 0 1 1 2 −2 0 100
$M A2 0 0 0 −1 −1 1 20
Zj $5 $8 −$2 $31 − M −$21 − M $M $1,800 + 20M
Cj − Zj $0 $0 $2 $M − 31 $2M + 21 $0
• Unbounded Solutions
– Unboundedness describes linear programs
that do not have finite solutions
TABLE M7.12 Problem with an Unbounded Solution
Cj $6 $9 $0 $0
SOLUTION
MIX X1 X2 S1 S2 QUANTITY
$9 X1 −1 1 2 0 30
$0 S2 −2 0 −1 1 10
Zj −$9 $9 $18 $0 $270
Cj − Zj $15 $0 −$18 $0
Pivot
column
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Special Cases (3 of 6)
Negative
ratios
unacceptab
le
TABLE M7.12 Problem with an Unbounded
Solution
C
j $6 $9 $0 $0
SOLUTION
MIX X1 X2 S1 S2 QUANTITY
$9 X1 −1 1 2 0 30
$0 S2 −2 0 −1 1 10
Zj −$9 $9 $18 $0 $270
Cj − Zj $15 $0 −$18 $0
Pivot
column
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Special Cases (4 of 6)
• Degeneracy
– Degeneracy develops when three constraints
pass through a single point
TABLE M7.13 Problem Illustrating Degeneracy
Cj $5 $8 $2 $0 $0 $0
SOLUTION
MIX X1 X2 X3 S1 S2 S3 QUANTITY
$8 X2 0.25 1 1 −2 0 0 10
$0 S2 4 0 0.33 −1 1 0 20
$0 S1 2 0 2 0.4 0 1 10
Zj $2 $8 $8 $16 $0 $0 $80
Cj − Zj $3 $0 −$6 −$16 $0 $0
Pivot
column
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved
Special Cases (5 of 6)
Module 8
Transportation,
Assignment, and
Network Algorithms
Figure
10.1
Introduction
■ Assignment model
■ The assignment problem refers to the class of
LP problems that involve determining the
most efficient assignment of resources to
tasks
■ The objective is most often to minimize total
costs or total time to perform the tasks at
hand
■ One important characteristic of assignment
problems is that only one job or worker can
be assigned to one machine or project
Introduction
■ Special-purpose algorithms
■ Although standard LP methods can be used to
solve transportation and assignment problems,
special-purpose algorithms have been
developed that are more efficient
■ They still involve finding and initial
solution and developing improved
solutions until an optimal solution is
reached
■ They are fairly simple in terms of
computation
Introduction
■ Streamlined versions of the simplex method are
important for two reasons
1. Their computation times are generally 100 times
faster
2. They require less computer memory (and hence can
permit larger problems to be solved)
■ Two common techniques for developing initial
solutions are the northwest corner method and
Vogel’s approximation
■ The initial solution is evaluated using either the
stepping-stone method or the modified
distribution (MODI) method
■ We also introduce a solution procedure called the
Hungarian method, Flood’s technique, or the
reduced matrix method
Setting Up a Transportation Problem
Table 10.1
Setting Up a Transportation Problem
Bosto
n
Clevelan
d Factor
y
Des
Moines
Evansto Warehouse
n
Albuquerqu
e
Fort
Lauderdale
Figure
10.2
Setting Up a Transportation Problem
$
$8 $4
EVANSVILLE 3 300
FACTORY
FORT $
$9 $7
LAUDERDALE 5 300
FACTORY
Cell representing
TWabAlReE1H 300 200 Total a
source-t7o0-
CToSst of shipping 1 unit from Cleveland su2p0p0ly (Evansville to
0REQUIREMEN
O.2USE Fort Lauderdale factory to warehouse Cleveland) shipping
Boston warehouse and demand d 0estination
demand assignment that could
be made
Setting Up a Transportation Problem
$8 $4 $3
EVANSVILLE 300
(E)
$9 $7 $5
FORT 300
LAUDERDALE (F)
200 $8 $4 $3
EVANSVILLE 300
(E)
$9 $7 $5
FORT 300
LAUDERDALE (F)
200 $8 100 $4 $3
EVANSVILLE 300
(E)
$9 $7 $5
FORT 300
LAUDERDALE (F)
200 $8 100 $4 $3
EVANSVILLE 300
(E)
$9 100 $7 $5
FORT 300
LAUDERDALE (F)
200 $8 100 $4 $3
EVANSVILLE 300
(E)
$9 100 $7 200 $5
FORT 300
LAUDERDALE (F)
D A 100
SHIPPED x 5 ($)
COST = 500
COST ($)
E A 200 8 1,600
E B 100 4 400
F B 100 7 700
F C 200 5 1,000
4,200
$8 $4 $3
E 200 100 300 1
$9 $7 $5
F 100 200 300 2
OPPORTUNITY
31 03 02 COSTS
TO TOTAL
FROM
A B C
AVAILABLE
$5 $4 $3
D 100 X X 100 1
$8 $4 $3
E 300 1
$9 $7 $5
F 300 2
$5 $4 $3
D 100 X X 100 1
$8 $4 $3
E 200 300 1
$9 $7 $5
F X 300 2
TO TOTAL
FROM
A B C
AVAILABLE
$5 $4 $3
D 100 X X 100
$8 $4 $3
E X 200 100 300
$9 $7 $5
F X 300
TO TOTAL
FROM
A B C
AVAILABLE
$5 $4 $3
D 100 X X 100
$8 $4 $3
E X 200 100 300
$9 $7 $5
F 200 X 100 300
$5 $4 $3 0
D 250 250
$8 $4 $3 0
E 50 200 50 300
$9 $7 $5 0
F 150 150 300
$10 $5 $8
PLANT X 175
$12 $7 $6
PLANT Y 75
Totals
do not
WAREHOUSE 250 100 150
450 balance
DEMAND 500
Table
10.17
Demand Greater than Supply
■ Initial solution to an unbalanced problem
in which demand is greater than supply
TO WAREHOUSE WAREHOUSE WAREHOUSE PLANT
FROM A B C SUPPLY
$6 $4 $9
PLANT W 200 200
$10 $5 $8
PLANT X 50 100 25 175
$12 $7 $6
PLANT Y 75 75
0 0 0
PLANT Y 50 50
W A R
ToE Ht O
a l l solut2i5o0n = 200($61)0+0
c o s tUoSfEiniti 0) + 101500($5) 25($8)
a + 50($1 +5 070 5($6)
$ +
DEMAND 50(0) = $2,850
Table 10.18
Assignment Model Approach
■ The second special-purpose LP algorithm is
the assignment method
■ Each assignment problem has associated with it
a table, or matrix
■ Generally, the rows contain the objects or people
we wish to assign, and the columns comprise
the tasks or things we want them assigned to
■ The numbers in the table are the costs
associated with each particular assignment
■ An assignment problem can be viewed as a
transportation problem in which the capacity
from each source is 1 and the demand at each
destination is 1
Assignment Model Approach
■ The Fix-It Shop has three rush projects to repair
■ They have three repair persons with different
talents and abilities
■ The owner has estimates of wage costs for each
worker for each project
■ The owner’s objective is to assign the three
project to the workers in a way that will result
in the lowest cost to the shop
■ Each project will be assigned exclusively to one
worker
Assignment Model Approach
■ Estimated project repair costs for the Fix-It shop
assignment problem
PROJECT
PERSON 1 2 3
Brown 8 10 11
Cooper 9 12 7
Table 10.26
Assignment Model Approach
■ Summary of Fix-It Shop assignment alternatives
and costs
PRODUCT ASSIGNMENT
1 2 3 LABOR TOTAL
COSTS ($) COSTS
($)
Adams Brown Cooper 11 + 10 + 7 28
Adams Cooper Brown 11 + 12 + 11 34
Brown Adams Cooper 8 + 14 + 7 29
Brown Cooper Adams 8 + 12 + 6 26
Cooper Adams Brown 9 + 14 + 11 34
Cooper Brown Adams 9 + 10 + 6 25
Table 10.27
The Hungarian Method
(Flood’s Technique)
■ The Hungarian method is an efficient method
of finding the optimal solution to an
assignment problem without having to make
direct comparisons of every option
■ It operates on the principle of matrix reduction
■ By subtracting and adding appropriate numbers
in the cost table or matrix, we can reduce the
problem to a matrix of opportunity costs
■ Opportunity costs show the relative penalty
associated with assigning any person to a
project as opposed to making the best
assignment
■ We want to make assignment so that the
opportunity cost for each assignment is
zero
Three Steps of the Assignment Method
Not
Set up cost table for optimal Revise opportunity cost table
problem in two steps:
Step (a)Subtract the smallest
number not covered by a line
1
from itself and every other
Find opportunity cost uncovered number
(a) Subtract smallest (b)add this number at
number in each row from every intersection of any
every number in that row, two lines
then
(b) subtract smallest
number in each column Optimal solution at zero
from every number in that locations. Systematically
column make final assignments.
Step
(a)Check each row and
2
column for a unique zero and
Test opportunity cost table to make the first assignment in
see if optimal assignments are that row or column
possible by drawing the
(b)Eliminate that row and
minimum possible lines on
column and search for
columns and/or rows such that Optima
another unique zero. Make
all zeros are covered l that assignment and proceed
in a like manner.
Figure
10.3
The Hungarian Method
(Flood’s Technique)
■ Step 1: Find the opportunity cost table
■ We can compute row opportunity costs and
column opportunity costs
■ What we need is the total opportunity cost
■ We derive this by taking the row opportunity
costs and subtract the smallest number in
that column from each number in that column
The Hungarian Method
(Flood’s Technique)
■ Cost of each person- ■ Row opportunity
project assignment cost table
PROJECT PROJECT
PERSON 1 2 3 PERSON 1 2 3
Brown 8 10 11 Brown 0 2 3
Cooper 9 12 7 Cooper 2 5 0
Adams $5 $8 $0 Adams $5 $6 $0
Brown 0 2 3 Brown 0 0 3
Cooper 2 5 0 Cooper 2 3 0
PROJECT
PERSON 1 2 3
Adams $5 $6 $0
Adams $3 $4 $0
Brown 0 0 5
Cooper 0 1 0
Table 10.32
The Hungarian Method
(Flood’s Technique)
■ Optimality test on the revised opportunity cost
table
PROJECT
PERSON 1 2 3
Adams $3 $4 $0
Adams to project 3 6
Brown to project 2 10
Cooper to project 1 9
Total cost 25
Making the Final Assignment
■ Making the final assignments
1 2 3 1 2 3 1 2 3
Table 10.34
Unbalanced Assignment Problems
Table 10.35