Professional Documents
Culture Documents
Transportation and 2. Use the N.W. corner, VAM, MODI, and stepping-
stone method.
Assignment Models 3. Solve facility location and other application
problems with transportation methods.
4. Solve assignment problems with the Hungarian
(matrix reduction) method.
Introduction Introduction
Two Special LP Models Two Special LP Models
The Transportation and Assignment 2. Assignment Problem
problems are types of LP techniques Refers to the class of LP problems that involve
called network flow problems. determining the most efficient assignment of
o people to projects,
1. Transportation Problem
o salespeople to territories,
Deals with the distribution of goods from several
o contracts to bidders,
points of supply (sources) to a number of points of
demand (destinations). o jobs to machines, etc.
Transportation models can also be used when a firm is The objective is most often to minimize total costs or
trying to decide where to locate a new facility. total time of performing the tasks at hand.
Good financial decisions concerning facility location One important characteristic of assignment problems is
also attempt to minimize total transportation and that only one job or worker is assigned to one machine
production costs for the entire system. or project.
1
Importance of Special- Purpose Setting Up a Transportation
Algorithms Problem
Two common techniques for developing initial solutions
are:
¾ the northwest corner method and The Executive Furniture Corporation
¾ Vogel’s approximation method. Manufactures office desks at three locations:
After an initial solution is developed, it must be ¾ Des Moines, Evansville, and Fort Lauderdale.
evaluated by either The firm distributes the desks through regional
¾ the stepping-stone method or warehouses located in
¾ the modified distribution (MODI) method. ¾ Boston, Albuquerque, and Cleveland (see following
Also introduced is a solution procedure for assignment slide).
problems alternatively called
¾ the Hungarian method,
¾ Flood’s technique, or
¾ the reduced matrix method.
Setting Up a Transportation
Transportation Problem Problem
The Executive Furniture Corporation
The Executive Furniture Corporation
Cleveland An estimate of the monthly production capacity at each
Des Moines (200 units) factory and an estimate of the number of desks that are
(100 units) required needed each month at each of the three warehouses is shown
capacity
in the following figure.
Albuquerque
(300 units) Evansville Boston
required (300 units) (200 units)
capacity required
Ft. Lauderdale
(300 units)
capacity
2
Unit Shipping Cost:1Unit, Factory to
Warehouse Total Demand and Total Supply
The Executive Furniture Corporation The Executive Furniture Corporation
Albuquerque Boston Cleveland Albuquerque Boston Cleveland
(A) (B) (C) Factory Factory
(A) (B) (C)
Capacity Capacity
Des Moines 5 4 3 Des Moines 100
(D) (D)
Evansville 8 4 Cell representing3a Evansville
source-to- 300
(E) destination (E)
assignment
Fort 9 7 5 Fort 300
Lauderdale Lauderdale
(F) (F)
Warehouse Warehouse
Req. Cost of shipping 1 unit from Fort Lauderdale factory to Req. 300 200 200 700
Boston warehouse
Initial Solution Using the Northwest Initial Solution Using the Northwest
Corner Rule Corner Rule
It takes five steps in this example to make the initial Steps 3 and 4 in this example are to make the initial
shipping assignments. shipping assignments.
1. Beginning in the upper left-hand corner, assign 100 units 3. Assign 100 units from Evansville to Boston.
from Des Moines to Albuquerque. ¾ The Evansville supply has now been exhausted, but
¾ This exhausts the capacity or supply at the Des Moines Boston’s warehouse is still short by 100 desks.
factory.
¾ At this point, move down vertically in the Boston column to
¾ But it still leaves the warehouse at Albuquerque 200 desks
the next row.
short.
¾ Next, move down to the second row in the same column. 4. Assign 100 units from Fort Lauderdale to Boston.
2. Assign 200 units from Evansville to Albuquerque. ¾ This shipment will fulfill Boston’s demand for a total of
¾ This meets Albuquerque’s demand for a total of 300 desks. 200 units.
¾ The Evansville factory has 100 units remaining, so we ¾ Note that the Fort Lauderdale factory still has 200 units
move to the right to the next column of the second row. available that have not been shipped.
3
Initial Solution Using the Northwest Initial Solution
Corner Rule North West Corner Rule
Final step for the initial shipping assignments. The Executive Furniture Corporation
5. Assign 200 units from Fort Lauderdale to Cleveland. Albuquerque
Boston
Cleveland
Factory
(A) (C)
¾ This final move exhausts Cleveland’s demand and (B) Capacity
Fort Lauderdale’s supply. Des Moines 5 4 3
100 100
(D)
¾ This always happens with a balanced problem.
Evansville 8 4 3
¾ The initial shipment schedule is now complete and 200 100 300
(E)
shown in the next slide.
Fort 9 7 5
(Continued: next slide) Lauderdale 100 200 300
(F)
Warehouse
Req. 300 200 200 700
4
Stepping-Stone Method - The Stepping-Stone Method - The Ft.
Des Moines-to-Boston Route Lauderdale-to-Albuquerque Route
Improvement index = The Executive Furniture Corporation
Albuquerque Boston Cleveland
+4 – 5 + 8 – 4 = +3 (A) (B) (C)
Factory
Capacity
Des Moines 5 4 3
100 100
(D)
Evansville 8 4 3
200 100 300
(E) - +
Fort Start 9 7 5
Lauderdale 100 200 300
(F) + -
Warehouse
Req. 300 200 200 700
5
Stepping-Stone Method - The Selecting the Cell for
Des Moines-to-Cleveland Route Improvement
Improvement index = • The cell with the best negative
+3 – 5 + 8 – 4 + 7 - 5 = +4 improvement index is selected. This cell
will be filled with as many units as
possible.
Stepping-Stone Method:
An Improved Solution Continuing the Process
The Executive Furniture Corporation • All empty cells are now evaluated again.
Albuquerque Cleveland
(A)
Boston
(C)
Factory If any cell has a negative index, the
(B) Capacity
5 4 3
process continues and a new solution is
Des Moines 100 100
(D) found.
Evansville 8 4 3
100 200 300
(E)
Fort 9 7 5
Lauderdale 100 200 300
(F)
Warehouse
Req. 300 200 200 700
6
Stepping-Stone Method:
Improvement Indices Third and Final Solution
The Executive Furniture Corporation The Executive Furniture Corporation
Albuquerque Cleveland Albuquerque Boston Cleveland Factory
Boston Factory (A)
(A) (C) (B) (C) Capacity
(B) Capacity
Des Moines 5 4 3 Des Moines 5 4 3
100 +3 +2 100 100 100
(D) (D)
Evansville 8 4 3 Evansville 8 4 3
100 200 -1 300 200 100 300
(E) (E)
Fort 9 7 5 Fort 9 7 5
100 +2 200 300 200 100 300
Lauderdale Lauderdale
(F) (F)
Warehouse Warehouse
300 200 200 700 Req. 300 200 200 700
Req.
7
The Six Steps for Vogel’s Special Problems in Transportation
Approximation Method
Unbalanced problem
1. For each row/column, find difference between two
lowest costs. ¾Demand less than supply
¾ Opportunity cost ¾Demand greater than supply
2. Select the greatest opportunity cost. Degeneracy
3. Assign as many units as possible to lowest cost More than one optimal solution
square in row/column with greatest opportunity
cost.
4. Eliminate row or column that has been completely
satisfied.
5. Recompute the opportunity costs for remaining
rows/columns.
8
Unbalanced Problem Example -
Demand Less than Supply Demand Less than Supply
The Executive Furniture Corporation Customer Customer 2 Dummy
Factory
1
A B C Dummy Capacity
Factory 1 8 5 0
D 250 170
E 300 Factory 2 15 10 0
130
F 300
300 200 200 150 850 Factory 3 3 9 0
80
A cost of “0” is given to all the cells
in the dummy column. Customer
150 80 150 380
Requirements
Example -
Unbalanced Problem
Supply Less than Demand
Supply Less than Demand
The second type of unbalanced condition occurs when Customer Customer Customer Factory
total demand is greater than total supply. 1 2 3 Capacity
This means that customers or warehouses require more 8 5 16
Factory 1
of a product than the firm’s factories can provide. 170
In this case we need to add a dummy row representing
Factory 2 15 10 7
a fake factory. 130
The new factory will have a supply exactly equal to
Dummy 0 0 0
the difference between total demand and total real 80
supply.
The shipping costs from the dummy factory to each Customer
Requirements 150 80 150 380
destination will be zero.
Degeneracy
Degeneracy
Degeneracy occurs when the number of occupied squares To handle degenerate problems, create an
or routes in a transportation table solution is less than the artificially occupied cell.
number of rows plus the number of columns minus 1. * That is, place a zero (representing a fake shipment)
¾ # Occupied Squares = Rows + Columns – 1 in one of the unused squares and then treat that
Such a situation may arise in the initial solution or in any square as if it were occupied.
subsequent solution. The square chosen must be in such a
¾ Degeneracy requires a special procedure to correct the problem. position as to allow all stepping-stone paths to be
Without enough occupied squares to trace a closed path for closed.
each unused route, it would be impossible to apply the * Although there is usually a good deal of flexibility
stepping-stone method or to calculate the R and K values in selecting the unused square that will receive the
needed for the MODI technique. zero.
9
Maximization Transportation
More Than One Optimal Problems
Solution
As with LP problems, it is possible for a Transportation If the objective in a transportation problem is to maximize
Problem to have multiple optimal solutions. profit, a minor change is required in the transportation
Such is the case when one or more of the improvement algorithm.
indices that we calculate for each unused square is zero in the Since the improvement index for an empty cell indicates
optimal solution. how the objective function value will change if one unit is
¾ This means that it is possible to design alternative shipping placed in that empty cell,
routes with the same total shipping cost. ¾ the optimal solution is reached when all the improvement indices
are negative or zero.
The alternate optimal solution can be found by shipping the
If any index is positive, the cell with the largest positive
most to this unused square (with index = 0) using a stepping-
improvement index is selected to be filled using a stepping-
stone path.
stone path.
Practically speaking, multiple optimal solutions provide
This new solution is evaluated and the process continues
management with greater flexibility in selecting and using
until there are no positive improvement indices.
resources.
10
The Steps of the Assignment Assignment Problem Example
Method
Project
1. Find the opportunity cost table by: Person 1 2 3
a) Subtracting the smallest number in each row of the Adams $11 $14 $6
original cost table or matrix from every number in that
row. Brown $8 $10 $11
b) Then subtracting the smallest number in each column Cooper $9 $12 $7
of the table obtained in part (a) from every number in Project
that column. Person 1 2 3
Adams 11-6 14-6 6-6
Brown 8-8 10-8 11-8
Cooper 9-7 12-7 7-7
11
Steps of the Assignment Method Assignment Problem Example
(continued)
3. Revise the present opportunity cost table.
Project
¾ This is done by subtracting the smallest number not
covered by a line from every other uncovered number. Person 1 2 3
¾ This same smallest number is also added to any Adams 5-2 6-2 0 +2
number(s) lying at the intersection of horizontal and
Brown 0 0 3
vertical lines.
¾ We then return to step 2 and continue the cycle until an Cooper 2-2 3-2 0
optimal assignment is possible. Project
Person 1 2 3
Adams 3 4 0
Brown 0 0 5
Cooper 0 1 0
Unbalanced Assignment
Unbalanced Assignment Problems
Problems (continued)
Often the number of people or objects to be assigned If the number of tasks that need to be done exceeds the
does not equal the number of tasks or clients or number of people available, add a dummy row.
machines listed in the columns, and the problem is ¾This creates a table of equal dimensions and allows us to
unbalanced. solve the problem as before.
¾When this occurs, and there are more rows than columns, Since the dummy task or person is really nonexistent, it
simply add a dummy column or task (similar to how is reasonable to enter zeros in its row or column as the
unbalanced transportation problems were dealt with cost or time estimate.
earlier). Job
Task
Person 1 2 Dummy Person 1 2 3
Smith 21 26 0 McCormack 135 165 88
Jones 20 21 0 Perdue 145 162 86
Dummy 0 0 0
Garcia 22 20 0
12