Professional Documents
Culture Documents
The wide applicability of linear programming has been greatly emphasized. We will
continue broaden our horizons in this lab report by discussing two particularly
important (and related) types of linear programming problems. One type, called the
Transportation problem, received this name because many of its applications
involve determining how to optimally transport goods. However, some of its important
applications (e.g., production scheduling, employment scheduling, personnel
assignment) actually have nothing to do with transportation.
The second type, called the Assignment problem, involves such applications
as assigning people to tasks. Although its applications appear to be quite different
from those for the transportation problem, we shall see that the assignment problem
can be viewed as a special type of transportation problem.
In the next lab report we will introduce additional special types of linear
programming problems involving networks, including the Minimum cost flow
problem. There we shall see that both the transportation and assignment problems
actually are special cases of the minimum cost flow problem.
Applications of the transportation and assignment problems tend to require a
very large number of constraints and variables, so a straightforward computer
application of the simplex method may require an exorbitant computational effort.
Fortunately, a key characteristic of these problems is that most of the aij coefficients
in the constraints are zeros, and the relatively few nonzero coefficients appear in a
distinctive pattern. As a result, it has been possible to develop special streamlined
algorithms that achieve dramatic computational savings by exploiting this special
structure of the problem. Therefore, it is important to become sufficiently familiar with
these special types of problems that we can recognize them when they arise and
apply the proper computational procedure.
1- Northwest-Corner Method
The method starts at the northwest-corner cell (route) of the tableau (variable x11).
Step 1: Allocate as much as possible to the selected cell, and adjust the associated
amounts of supply and demand by subtracting the allocated amount.
Step 2: Cross out the row or column with zero supply or demand to indicate that no
further assignments can be made in that row or column. If both a row and a column
net to zero simultaneously, cross out one only, and leave a zero supply (demand) in
the uncrossed-out TOW (column).
Step 3: If exactly one row or column is left uncrossed out, stop. Otherwise, move to
the cell to the right if a column has just been crossed out or below if a row has been
crossed out. Go to step 1.
Example:
Destinations
Sources 1 2 3 4 supply
1 10 2 20 11 15
2 12 7 9 20 25
3 4 14 16 18 10
Demands 5 15 15 15 Demands=supply
DESTINATION
SOURCE 1 2 3 4 SUPPLY
10 2 20 11
15
5 10
1
12 7 9 20 25
2 5 15 5
4 14 16 18
10
3 10
DEMAND 5 15 15 15 Z=520
Least Cost = 5*10+10*2+5*7+15*9+5*20+10*18=520
Rim Requirements should always be equal to amounts at columns and rows side
(means demand is equal to supply)otherwise it will be degeneracy case.
DESTINATION
SOURCE 1 2 3 4 SUPPLY
10 start 2 20 11
15
15 0
12 7 9 End 20 25
15 5
2
4 14 16 18
10
3 5 10
DEMAND 5 15 15 15 Z=475
DESTINATION
SOURCE 1 2 3 4 SUPPLY penalties
10 (b) 2 20 11 10-2=8
15 11-2=9
15
1
DEMAND 5 15 15 15 Z=475
penalties 10-4=6 7-2=5 16-9=7 18-11=7 Rim Requirements
- 7-2=5 16-9=7 20-18=2