Chapter 6
Chapter 6
Transportation and
Assignment Models
PART I
TRANSPORTATION MODELS
1.Introduction
Transportation model
• The transportation problem deals with the
distribution of goods from several points of supply
(sources) to a number of points of demand
(destinations)
• Usually we are given the capacity of goods at each
source and the requirements at each destination
• Typically the objective is to minimize total
transportation and production costs
2. Setting Up a Transportation
• Problem
Production costs are the same at the factories so
the only
relevant costs are shipping from each source to each
destination
• Costs are constant no matter the quantity shipped
DES MOINES $5 $4 $3
EVANSVILLE $8 $4 $3
FORT LAUDERDALE $9 $7 $5
Cont’d…..
Transportation table for Executive Furniture
Des Moines
capacity
constraint
TO WAREHOUSE WAREHOUSE WAREHOUS
AT AT E AT FACTORY
FROM ALBUQUERQUE CLEVELAND
BOSTON CAPACITY(su
pply)
DES MOINES $5 $4 $3
100
EVANSVILL $8 $4 $3
300
E
FORT LAUDERDALE $9 $7 $5
300
• Start in the upper left-hand cell and allocate units to shipping routes
as follows
EVANSVILLE $8 $4 $3
300
(E)
FORT LAUDERDALE $9 $7 $5
300
(F)
EVANSVILLE 200 $8 $4 $3
300
(E)
FORT LAUDERDALE $9 $7 $5
300
(F)
FORT LAUDERDALE $9 $7 $5
300
(F)
15
Northwest Corner Rule (NCR)
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.
TO ALBUQUERQUE BOSTON CLEVELAND FACTORY
FROM (A) (B) (C) CAPACITY
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
As its name indicates, this methods entails making allocation at each step
by selecting from the routes available, the one with the minimum cost.
The specific steps of the minimum cell cost method are summarized next.
DES MOINES $5 $4 $3
100
(D)
EVANSVILLE $8 $4 200 $3
300
(E)
FORT LAUDERDALE $9 $7 $5
300
(F)
DES MOINES $5 $4 $3
100
(D)
FORT LAUDERDALE $9 $7 $5
300
(F)
FORT LAUDERDALE $9 $7 $5
300
(F)
• To apply VAM, we first compute for each row and column the
penalty faced if we should ship over the second-best route instead of
the least-cost route
24
Vogel’s Approximation Method
The six steps involved in determining an initial VAM solution are
illustrated below beginning with the same layout originally shown.
VAM Step 1. For each row and column of the transportation table,
find the difference between the distribution cost on the best route in
the row or column and the second best route in the row or column
This is the opportunity cost of not using the best route
25
Vogel’s Approximation Method
$8 $4 $3
E 300 1
$9 $7 $5
F 300 2
OPPORTUNITY
3 0 0 COSTS
Vogel’s Approximation Method
VAM Step 2. identify the row or column with the greatest opportunity
cost, or difference (column A in this example)
100 $5 $4 $3
D 100 1
$8 $4 $3
E 300 1
$9 $7 $5
F 300 2
3 OPPORTUNITY
0 0
(Largest) COSTS
Vogel’s Approximation Method
VAM Step 4. Eliminate any row or column that has been completely satisfied
by the assignment just made by placing Xs in each appropriate square
VAM Step 5. Recompute the cost differences for the transportation table,
omitting rows or columns eliminated in the previous step
TO TOTAL
FROM
A B C
AVAILABLE
100 $5 x $4 x $3
D 100
$8 $4 $3
E 300 1
$9 $7 $5
F 300 2
3 OPPORTUNITY
1 2
(Largest) COSTS
Vogel’s Approximation Method
VAM Step 6. Return to step 2 for the rows and columns remaining and
repeat the steps until an initial feasible solution has been obtained
100 $5 x $4 x $3
D 100
$8 200 $4 $3
E 300 1
$9 x $7 $5
F 300 2
3 OPPORTUNITY
1 2
(Largest) COSTS
TO TOTAL
FROM
A B C
AVAILABLE
100 $5 x $4 x $3
D 100
x $8 200 $4 100 $3
E 300
$9 x $7 $5
F 300
OPPORTUNITY COSTS
TO TOTAL
FROM
A B C
AVAILABLE(Sup
ply)
100 $5 x $4 x $3
D 100
x $8 200 $4 100 $3
E 300
200 $9 x $7 100 $5
F 300
Source 1 45 17 21 30
Source 2 14 18 19 31
• 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
39
Assignment Model
Estimated project repair costs for the Fix-It shop
assignment problem
PROJECT
PERSON
1 2 3
Brown 8 10 11
Cooper 9 12 7
Cont’d…
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
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
(b) Then subtracting the smallest number in each column of the table
obtained in part (a) from every number in that column
2. Test the table resulting from step 1 to see whether an optimal assignment
can be made by drawing the minimum number of vertical and
horizontal straight lines necessary to cover all the zeros in the table.
If the number of lines is less than the number of rows or columns,
proceed to step 3.
Three Steps of the Assignment Method
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
Three Steps of the Assignment Method
Step 2: Test for the optimal assignment
– We want to assign workers to projects in such a way
that the total labor costs are at a minimum
– We would like to have a total assigned opportunity cost of
zero
– The test to determine if we have reached an optimal
solution is simple
– We find the minimum number of straight lines necessary
to cover all the zeros in the table
– If the number of lines equals the number of rows or
columns, an optimal solution has been reached
49
Three Steps of the Assignment Method
Test for optimal
solution PROJECT
PERSON 1 2 3
Adams $5 $6 $0
Cooper 2 3 0
Covering line 2
This requires only two lines to cover the zeros while the numbers
of columns and rows are three so the solution is not optimal
Three Steps of the Assignment Method
Step 3: Revise the opportunity-cost table
– We subtract the smallest number not covered by a line
from all numbers not covered by a straight line
– The same number is added to every number lying at the
intersection of any two lines
– We then return to step 2 to test this new table
Three Steps of the Assignment Method
Revised opportunity cost table (derived by subtracting
2 from each cell not covered by a line and adding 2
to the cell at the intersection of the lines)
PROJECT PROJECT
PERSON 1 2 3 PERSON 1 2 3
Adams $5 $6 $0
Adams $3 $4 $0
Brown 0 0 3
Brown 0 0 5
Cooper 2 3 0
Cooper 0 1 0
Three Steps of the Assignment Method
Optimality test on the revised opportunity cost
table
PROJECT
PERSON 1 2 3
Adams $3 $4 $0
Cooper 0 1 0
PROJECT
PERSON 1 2 3
Adams $3 $4 $0
Brown 0 0 5
Cooper 0 1 0
Making the Final Assignment
Making the final
assignments
(A) FIRST (B) SECOND (C) THIRD
ASSIGNMENT ASSIGNMENT ASSIGNMENT
1 2 3 1 3 1 3
Adams 3 0 2
3 4 0 Adams 2
3 4 0
4 Adams
5 Brown 0 0 5 Brown 0 0 5
Brown 0
0 0 Cooper 0 1 0 Cooper 0 1 0
Cooper 0
1
Making the Final Assignment
Total labor costs of this assignment are
ASSIGNMENT COST ($)
Adams to project 3 6
Brown to project 2 10
Cooper to project 1 9
Total cost 25
Questions
?
Thank you!