Topic 4 Transportation and Assignment Models - Chapter 9
Topic 4 Transportation and Assignment Models - Chapter 9
(Chapter 9)
Learning Objectives
Students will be able to: 1. Structure LP problems using the transportation, and assignment models. 2. Use the northwest corner and stepping-stone methods. 3. Solve facility location and other application problems with transportation models. 4. Solve assignment problems with the Hungarian (matrix reduction) method.
Chapter Outline
9.1 9.2 9.3 9.5 9.6 9.7 9.8 9.9 Introduction The Transportation Problem The Assignment Problem The Transportation Algorithm Special Situations with the Transportation Algorithm Facility Location Analysis The Assignment Algorithm Special Situations with the Assignment Algorithm
Introduction
Two Special LP Models
The Transportation and Assignment problems are types of LP techniques called network flow problems. 1. Transportation Problem
Deals with the distribution of goods from several points of supply (sources) to a number of points of demand (destinations). Transportation models can also be used when a firm is trying to decide where to locate a new facility. Good financial decisions concerning facility location also attempt to minimize total transportation and production costs for the entire system.
Introduction
Two Special LP Models
2. Assignment Problem
Refers to the class of LP problems that involve determining the most efficient assignment of
o o o o people to projects, salespeople to territories, contracts to bidders, jobs to machines, etc.
The objective is most often to minimize total costs or total time of performing the tasks at hand. One important characteristic of assignment problems is that only one job or worker is assigned to one machine or project.
The Transportation and Assignment methods are much simpler than the simplex algorithm in terms of computation.
After an initial solution is developed, it must be evaluated by either the stepping-stone method or the
modified distribution (MODI) method.
Also introduced is a solution procedure for assignment problems alternatively called the Hungarian method,
Floods technique, or the reduced matrix method.
Transportation Problem
The Executive Furniture Corporation
Des Moines (100 units) capacity Albuquerque (300 units) required Cleveland (200 units) required
Transportation Costs
The Executive Furniture Corporation
Production costs per desk are identical at each factory; the only relevant costs are those of shipping from each source to each destination. These costs are shown below. They are assumed to be constant regardless of the volume shipped.
Transportation Costs
The Executive Furniture Corporation
1. The first step is to set up a transportation table.
Its purpose is to summarize concisely and conveniently all relevant data and to keep track of algorithm computations. * It serves the same role that the simplex tableau did for LP problems.
FROM
DES MOINES FACTORY EVANSVILLE FACTORY FORT LAUDERDALE FACTORY WAREHOUSE REQUIREMENTS
FACTORY CAPACITY
100
$8
$4
$3
300
$9
$7
$5
300
300
200
200
700
Evansville (E)
Fort Lauderdale (F) Warehouse Req. 300 200 200
300
300 700
4
4 7
Warehouse Req.
300
200
200
700
$8
$4
$3
300
$9
$7
$5
300
200
200
700
100
200
$8
$4
$3
300
$9
$7
$5
300
200
200
700
200
$8
100
$4
$3
300
$9
$7
$5
300
200
200
700
200
$8
100
$4
$3
300
$9
100
$7
$5
300
200
200
700
200
$8
100
$4
$3
300
$9
100
$7
200
$5
300
200
200
700
4. Calculate an improvement index by adding together the unit cost figures found in each square containing a plus sign and then subtracting the unit costs in each square containing a minus sign.
5. Repeat steps 1 to 4 until an improvement index has been calculated for all unused squares. If all indices computed are greater than or equal to zero, an optimal solution has been reached. If not, it is possible to improve the current solution and decrease total shipping costs.
Boston (B)
Start 4 4 7
Cleveland (C)
3 3 5
100
5 8 9
+
100
100
200
200
200
300
700
Improvement index = +4 5 + 8 4 = +3
(A) Des Moines (D) Evansville (E) Fort Lauderdale (F) Warehouse Req. 100 200 9 5 8
Boston (B)
4 4 100
Cleveland (C)
3 3 5
Start
100
200
200
300
700
300
200
Improvement index = +4 8 + 9 7 = -2
(A) Des Moines (D) Evansville (E) Fort Lauderdale (F) Warehouse Req. 100 200 9 5
Boston (B)
4
Cleveland (C)
3 Start
Factory Capacity
100 300 300 700
3
5
100
+
300
100 200
200
200
Improvement index = +3 4 + 7 5 = +1
Boston (B) 4 4
Cleveland (C)
100
5 8
Start
3 3 5
9 100 100 7
200
300
200
200
700
Improvement index = +3 5 + 8 4 + 7 - 5 = +4
In this example, the only cell with a negative improvement index is FA (Ft. Lauderdale to Albuquerque)
(A) Des Moines (D) Evansville (E) Fort Lauderdale (F) Warehouse Req. 100 200 9 5 8
Boston (B)
4 4
Cleveland (C)
3 3 5
Factory Capacity
100 300
100
Start 300
100
200
200
300
700
200
Boston (B) 4
4 200 7
Cleveland (C)
5
8
3
3 5
200 200
300 700
300
200
(A)
Boston (B) +3
Cleveland (C)
100
5
8
4
4
+2 -1
3
3 5
100 100
300 9
200
7 +2 200
300
300 700
200 200
(A) Des Moines (D) Evansville (E) Fort Lauderdale (F) Warehouse Req. 200 300
Cleveland (C) 3 3
Factory Capacity
100
5 8 9
100
300 300 700
100
7 100 200 5
200
The firm is now able to supply a total of 850 desks each period. Warehouse requirements remain the same so the row and column totals do not balance.
Just as slack variables were assigned a value of zero dollars in the LP objective function, the shipping costs to this dummy warehouse are all set equal to zero.
D
E F
250
300 300 300 200 200 150 850
Customer 2
5
Dummy 0 0
Factory Capacity
8
15 3
170
130 80 380
10
9
150
80
150
Customer 2
5 10 0
Customer 3
16 7 0
150
80
150
Degeneracy
Degeneracy occurs when the number of occupied squares or routes in a transportation table solution is less than the number of rows plus the number of columns minus 1.
# Occupied Squares < Rows + Columns 1
Such a situation may arise in the initial solution or in any subsequent solution.
Degeneracy requires a special procedure to correct the problem.
Without enough occupied squares to trace a closed path for each unused route, it would be impossible to apply the stepping-stone method.
Degeneracy
To handle degenerate problems, create an artificially occupied cell. That is, place a zero (representing a fake shipment) in one of the unused squares and then treat that square as if it were occupied. The square chosen must be in such a position as to allow all stepping-stone paths to be closed.
This means that it is possible to design alternative shipping routes with the same total shipping cost.
The alternate optimal solution can be found by shipping the most to this unused square (with index = 0) using a stepping-stone path. Practically speaking, multiple optimal solutions provide management with greater flexibility in selecting and using resources.
In a maximization problem, the very high cost used in minimization problems is given a negative sign, turning it into a very bad profit.
Such a formulation could be solved using the transportation algorithm, but it would have a severe degeneracy problem. However, this type of problem is very easy to solve using the assignment method.
Brown Cooper
$8 $9
$10 $12
Project
$11 $7
Person 1 2 Adams 11-6 14-6 Brown 8-8 10-8 Cooper 9-7 12-7 Note: Subtract smallest number in each row.
Person Adams
Brown Cooper
1 5
0 2
2 8
2 5 Project
3 0
3 0
Person Adams
1 5
2 8-2
3 0
Brown Cooper
0 2
2-2 5-2
3 0
Note: Subtract smallest number in each column. No changes in column with 0s.
Project 2 6 0 3
3 0 3 0
If the number of lines equals either the number of rows or columns in the table, an optimal assignment can be made.
If the number of lines is less than the number of rows or columns, then proceed to step 3.
+2
Jones Garcia
20 22
21 20
0 0