Render Chap 9
Render Chap 9
Transportation and
Assignment Models
To accompany
Quantitative Analysis for Management, Tenth Edition,
by Render, Stair, and Hanna © 2008 Prentice-Hall, Inc.
Power Point slides created by Jeff Heyl © 2009 Prentice-Hall, Inc.
Introduction
◼ In this chapter we will explore two special
linear programming models
◼ The transportation model
◼ The assignment model
◼ These problems are members of a
category of LP techniques called network
flow problems
Figure 10.1
© 2009 Prentice-Hall, Inc. 10 – 4
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
EVANSVILLE $8 $4 $3
FORT LAUDERDALE $9 $7 $5
Table 10.1
Boston
Cleveland
Factory
Des Moines
Evanston Warehouse
Albuquerque
Fort Lauderdale
Figure 10.2
Des Moines
◼ Transportation table for Executive Furniture capacity
constraint
DES MOINES $5 $4 $3
100
FACTORY
EVANSVILLE $8 $4 $3
300
FACTORY
FORT LAUDERDALE $9 $7 $5
300
FACTORY
WAREHOUSE
300 200 200 700
REQUIREMENTS
Cell representing a
Table 10.2 Total supply source-to-destination
Cost of shipping 1 unit from Cleveland (Evansville to Cleveland)
Fort Lauderdale factory to and demand
warehouse shipping assignment
Boston warehouse demand that could be made
© 2009 Prentice-Hall, Inc. 10 – 11
Setting Up a Transportation Problem
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
300
(E)
FORT LAUDERDALE $9 $7 $5
300
(F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
200 300
(E)
FORT LAUDERDALE $9 $7 $5
300
(F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
200 100 300
(E)
FORT LAUDERDALE $9 $7 $5
300
(F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
200 100 300
(E)
FORT LAUDERDALE $9 $7 $5
100 300
(F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
200 100 300
(E)
FORT LAUDERDALE $9 $7 $5
100 200 300
(F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
$5 $4
Des Moines–Boston Factory
100
D
shipping route – +
Factory
+ $8 – $4
E 200 100
TO FACTORY
ALBUQUERQUE BOSTON CLEVELAND
FROM CAPACITY
$5 $4 $3
DES MOINES 100 100
$8 $4 $3
EVANSVILLE 200 100 300
$9 $7 $5
FORT LAUDERDALE 100 200 300
WAREHOUSE
300 200 200 700 Table 10.4
REQUIREMENTS
© 2009 Prentice-Hall, Inc. 10 – 27
Five Steps to Test Unused Squares
with the Stepping-Stone Method
◼ Evaluating the unused Warehouse A Warehouse B
$5 $4
Des Moines–Boston Factory
99
100 1
D
shipping route – +
Factory 201 + $8 99 – $4
E 200 100
TO FACTORY
ALBUQUERQUE BOSTON CLEVELAND
FROM CAPACITY
$5 $4 $3
DES MOINES 100 100
$8 $4 $3
EVANSVILLE 200 100 300
$9 $7 $5
FORT LAUDERDALE 100 200 300
WAREHOUSE
300 200 200 700 Table 10.4
REQUIREMENTS
© 2009 Prentice-Hall, Inc. 10 – 28
Five Steps to Test Unused Squares
with the Stepping-Stone Method
◼ Evaluating the unused Warehouse A Warehouse B
$5 $4
Des Moines–Boston Factory
99
100 1
D
shipping route – +
Factory 201 + $8 99 – $4
E 200 100
TO FACTORY
ALBUQUERQUE BOSTON CLEVELAND
FROM Result
CAPACITY of Proposed
$5 $4 $3 Shift in Allocation
DES MOINES 100 100
= 1 x $4
$8 $4 $3 – 1 x $5
EVANSVILLE 200 100 300 + 1 x $8
– 1 x $4 = +$3
$9 $7 $5
FORT LAUDERDALE 100 200 300
WAREHOUSE
300 200 200 700 Table 10.4
REQUIREMENTS
© 2009 Prentice-Hall, Inc. 10 – 29
Five Steps to Test Unused Squares
with the Stepping-Stone Method
Step 4. We can now compute an improvement index
(Iij) for the Des Moines–Boston route
◼ We add the costs in the squares with plus signs
and subtract the costs in the squares with minus
signs
Des Moines–
Boston index = IDB = +$4 – $5 + $5 – $4 = + $3
Table 10.5
Des Moines–Cleveland
improvement index = IDC = + $3 – $5 + $8 – $4 + $7 – $5 = + $4
TO FACTORY
A B C
FROM CAPACITY
$5 $4 $3
D 100 100
$8 $4 $3
E 200 100 300
– +
$9 $7 $5
F 100 200 300
+ –
WAREHOUSE
300 200 200 700
REQUIREMENTS
Table 10.6
$8 $4 $3
E 100 200 300
$9 $7 $5
F 100 200 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
Table 10.7
D to B = IDB = + $4 – $5 + $8 – $4 = + $3
(closed path: + DB – DA + EA – EB)
D to C = IDC = + $3 – $5 + $9 – $5 = + $2
(closed path: + DC – DA + FA – FC)
E to C = IEC = + $3 – $8 + $9 – $5 = – $1
(closed path: + EC – EA + FA – FC)
F to B = IFB = + $7 – $4 + $8 – $9 = + $2
(closed path: + FB – EB + EA – FA)
© 2009 Prentice-Hall, Inc. 10 – 38
Obtaining an Improved Solution
◼ Path to evaluate for the EC route
TO FACTORY
A B C
FROM CAPACITY
$5 $4 $3
D 100 100
$8 $4 Start $3
E 100 200 300
– +
$9 $7 $5
F 100 200 300
+ –
WAREHOUSE
300 200 200 700
REQUIREMENTS
Table 10.8
ROUTE
DESKS PER UNIT TOTAL
FROM TO SHIPPED x COST ($) = COST ($)
D A 100 5 500
E B 200 4 800
E C 100 3 300
F A 200 9 1,800
F C 100 5 500
3,900
TO FACTORY
A B C
FROM CAPACITY
$5 $4 $3
D 100 100
$8 $4 $3
E 200 100 300
$9 $7 $5
F 200 100 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
Table 10.9
D to B = IDB = + $4 – $5 + $9 – $5 + $3 – $4 = + $2
(closed path: + DB – DA + FA – FC + EC – EB)
D to C = IDC = + $3 – $5 + $9 – $5 = + $2
(closed path: + DC – DA + FA – FC)
E to A = IEA = + $8 – $9 + $5 – $3 = + $1
(closed path: + EA – FA + FC – EC)
F to B = IFB = + $7 – $5 + $3 – $4 = + $1
(closed path: + FB – FC + EC – EB)
$8 $4 $3
R2 E 200 100 300
$9 $7 $5
R3 F 100 200 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
Table 10.10
© 2009 Prentice-Hall, Inc. 10 – 47
Solving the Executive Furniture
Corporation Problem with MODI
◼ The first step is to set up an equation for each
occupied square
◼ By setting R1 = 0 we can easily solve for K1, R2, K2,
R3, and K3
(1) R1 + K1 = 5 0 + K1 = 5 K1 = 5
(2) R2 + K1 = 8 R2 + 5 = 8 R2 = 3
(3) R2 + K2 = 4 3 + K2 = 4 K2 = 1
(4) R3 + K2 = 7 R3 + 1 = 7 R3 = 6
(5) R3 + K3 = 5 6 + K3 = 5 K3 = –1
PROJECT
PERSON 1 2 3
Brown 8 10 11
Cooper 9 12 7
Table 10.26
PRODUCT ASSIGNMENT
LABOR TOTAL
1 2 3
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
Not
Set up cost table for problem Revise opportunity cost table
optimal
in two steps:
Step 1 (a) Subtract the smallest
number not covered by a line
from itself and every other
Find opportunity cost
uncovered number
(a) Subtract smallest number in
(b) add this number at every
each row from every number
intersection of any two lines
in that row, then
(b) subtract smallest number in
each column from every
number in that column Optimal solution at zero
locations. Systematically make
final assignments.
Step 2
(a) Check each row and column
for a unique zero and make the
Test opportunity cost table to first assignment in that row or
see if optimal assignments are column
possible by drawing the
minimum possible lines on (b) Eliminate that row and
columns and/or rows such that Optimal column and search for another
all zeros are covered unique zero. Make that
assignment and proceed in a
like manner.
Figure 10.3
© 2009 Prentice-Hall, Inc. 10 – 59
The Hungarian Method
(Flood’s Technique)
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
Cooper 2 3 0
Adams $3 $4 $0
Brown 0 0 5
Cooper 0 1 0
Table 10.32
Adams $3 $4 $0
Cooper 0 1 0
Adams to project 3 6
Brown to project 2 10
Cooper to project 1 9
Total cost 25
1 2 3 1 2 3 1 2 3
Table 10.34
Table 10.35