Module 8
Module 8
Management
Thirteenth Edition, Global Edition
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
TO
FROM ALBUQUERQUE BOSTON CLEVELAND
DES MOINES $5 $4 $3
EVANSVILLE $8 $4 $3
FORT LAUDERDALE $9 $7 $5
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
Des Moines
■ Transportation table for Executive Furniture capacity
constraint
$
EVANSVILLE $8 $4
3 300
FACTORY
FORT $
$9 $7
LAUDERDALE 5 300
FACTORY
Cell representing a
Table 10.2
WAREHOUSE source-to-destination
Cost of shipping 300 200
1 unit from Cleveland Total supply
200 700
REQUIREMENTS and demand (Evansville to
Fort Lauderdale factory to warehouse Cleveland) shipping
Boston warehouse demand assignment that could
be made
Setting Up a Transportation Problem
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
300
(E)
FORT $9 $7 $5
300
LAUDERDALE (F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
Developing an Initial Solution:
Northwest Corner Rule
2 Assign 200 units from Evansville to Albuquerque.
This meets Albuquerque’s demand. Evansville
has 100 units remaining so we move to the right
to the next column of the second row.
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
200 300
(E)
FORT $9 $7 $5
300
LAUDERDALE (F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
Developing an Initial Solution:
Northwest Corner Rule
3 Assign 100 units from Evansville to Boston. The
Evansville supply has now been exhausted but
Boston is still 100 units short. We move down
vertically to the next row in the Boston column.
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
200 100 300
(E)
FORT $9 $7 $5
300
LAUDERDALE (F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
Developing an Initial Solution:
Northwest Corner Rule
4 Assign 100 units from Fort Lauderdale to Boston.
This fulfills Boston’s demand and Fort
Lauderdale still has 200 units available.
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
200 100 300
(E)
FORT $9 $7 $5
100 300
LAUDERDALE (F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
Developing an Initial Solution:
Northwest Corner Rule
5 Assign 200 units from Fort Lauderdale to
Cleveland. This exhausts Fort Lauderdale’s
supply and Cleveland’s demand. The initial
shipment schedule is now complete.
Table 10.3
TO ALBUQUERQUE BOSTON CLEVELAND FACTORY
FROM (A) (B) (C) CAPACITY
DES MOINES $5 $4 $3
100 100
(D)
EVANSVILLE $8 $4 $3
200 100 300
(E)
FORT $9 $7 $5
100 200 300
LAUDERDALE (F)
WAREHOUSE
300 200 200 700
REQUIREMENTS
Developing an Initial Solution:
Northwest Corner Rule
■ We can easily compute the cost of this shipping
assignment
ROUTE
UNITS PER UNIT TOTAL
FROM TO SHIPPED x COST ($) = COST ($)
D A 100 5 500
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
$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
WAREHOUSE
Total 300 + 200($4)
cost = 250($5) + 50($8) 200 200
+ 50($3) + 150($5) + 150(0)150
= 850
REQUIREMENTS
$3,350
New Des
Table 10.16
Moines capacity
Demand Greater than Supply
$10 $5 $8
PLANT X 175
$12 $7 $6
PLANT Y 75
Totals
do not
WAREHOUSE 450 balance
250 100 150
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
WAREHOUSE
Total cost of initial solution
DEMAND
250 = 200($6) + 50($10) + 100($5)
100 150 + 25($8) + 75($6)
500
+ $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
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
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 Revise opportunity cost table
optimal
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 number (b) add this number at every
in each row from every intersection of any two lines
number 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
(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)
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
PROJECT
PERSON 1 2 3 DUMMY
Adams $11 $14 $6 $0
Brown 8 10 11 0
Cooper 9 12 7 0
Davis 10 13 8 0
Table 10.35