CHAPTER 2 Transportation
CHAPTER 2 Transportation
The transportation problem arises frequently in planning for the distribution of goods and
services from several supply locations to several demand locations. Usually the quantity
of goods available at each supply location (origin) is fixed or limited and there is a
specified amount needed (demand) at user location (destination). With a verity of
shipping routes and differing cost for the routes, the objective will be to determine how
many units should be shipped from each origin to each destination so that all destination
demands are satisfied and total transportation costs are minimized.
The first step of the transportation algorithm is to find an initial feasible solution or a
basic feasible solution using any one of the following techniques
a) The North – West corner method (NWCM) – In this method, the transportation
distribution will start from the North – West corner and go horizontally, vertically
or diagonally which will be dependent on the demand and supply until all units
are allocated.
b) The least cost method (LCM) – This method tries to minimize the total
transportation cost by starting from the smallest unit cost then going to the next
least cost until all units are allocated.
1|P a g e
c) Vogel’s approximation method (VAM) – This is very similar to the least cost
method but it wants to minimize the penalty of not taking the least cost by
calculating the difference between the two least costs in each row and each
column and then selecting the highest penalty.
After finding an initial feasible solution, the next step will be to evaluate a solution
whether it is optimal or not. If it is optimal, we will stop there; if not, we improve it until
we reach the optimal point. This is done using two techniques.
a) The stepping stone method (SSM) and
b) The modified distribution (MODI) method
The stepping stone method involves a good deal more effort than the MODI method as
you will note. However it provides an intuitive understanding of the evaluation process.
Moreover, when a solution is not optimal, the distribution plan must be revised by
reallocating units into and out of various cells and only the stepping stone method can be
used for the reallocation. It is therefore necessary to be able to use the MODI method and
then, the stepping stone method, if necessary.
Example
A firm owns facilities at six places. It has manufacturing plants at places A, B and C with daily
production of 50, 40 & 60 units, respectively. At point D, E and F, it has three warehouses with
daily demands of 20, 95 and 35 units, respectively. Per unit shipping costs are given in the
following table. If the firm wants to minimize its total transportation cost, how it should route its
products?
Warehouse
Plant D E F
A 6 4 1
B 3 8 7
C 4 4 2
Steps
1. Obtain an initial feasible solution using any of the three techniques.
2. Check whether it is optimal or not using the stepping stone or the MODI method.
3. If not optimal revise the solution until it is optimal
2|P a g e
Initial feasible solution
Warehouse supply
Plant D E F
6 A4 20 1
30 50
3 B 8 7
40 40
4 C4 2
25 35 60
Demand 20 95 35 150
TC = 730 birr
3|P a g e
Warehouse supply
Plant D E F
6 A4 1
15 35 50
3 B 8
20 7
20 40
4 C4 2
60 60
Demand 20 95 35 150
The stepping stone method involves tracing a series of closed paths in the transportation
table, using one such path for each empty cell. The path represents a shift of one unit in to
an empty cell, and it enables the manger or analyst to answer what if question; what
impact on total cost would there be if one unit were shifted in to a cell. If the shift would
result in a cost savings, the stepping stone path also can be sued to determine the
maximum number of units that can be shifted in to the empty cells, as well as
modifications to other completed cells needed to compensate for the shift in to the
previously unused cell.
4|P a g e
permissible to skip over occupied cells to find an occupied cell from which the
path can continue).
3. A path will consist of only horizontal and vertical moves, starting and ending with
the empty cell that is being evaluated.
4. Alternate “+” and “-” signs, beginning with a “+” sign in the cell being
evaluated.
Note that it is not necessary to actually alter the quantities in the various cells to reflect
the one unit change, the “+” and “-”signs suffice. The general implication of the plus and
minus signs is that cells with “+” signs mean one unit would be added. Cells with a “-”
sign indicate one unit would be subtracted. The net impact of such a one unit shift can be
determined by adding the cell costs with signs attached and noting the resulting value.
Warehouse supply
Plant D E F
6 A4 20 1
30 50
3 B 8 7
40 40
4 C4 2
25 35 60
Demand 20 95 35 150
5|P a g e
Improved solution
Warehouse supply
Plant D E F
6 A4 1
50 50
3 B 8
20 7
20 40
4 C4 2
25 35 60
Demand 20 95 35 150
TC = 4x50 + 3x20 + 8x20 + 4x25 + 2x35
TC = 590 birr
2nd evaluation
C4 4 60 2
60
Demand 20 95 35 150
TC = 4x15 + 1x35 + 3x20 + 8x20 + 4x60
6|P a g e
TC = 555 birr This is final
b) The modified distribution method (MODI) - Evaluation using the MODI method
We begin by assigning a value of zero as the index for row 1. Once row index has been
established, it will enable us to compute column index numbers for all occupied cells in
that row. Similarly once a column index number has been determined, index numbers for
all rows corresponding to occupied cells in that column can be determined.
Initial solution
C1= 6 C2=4 C3=2
Warehouse supply
Plant D E F
6 r1=0 A 4 20 1 30 50
3 r2= 4 B 8 7 40 40
4
r3 = 0 C 4 2
25 35 60
Demand 20 95 35 150
AF = 1 – 0 – 2 = - 1
BD = 3 – 4 – 6 = - 7
BF = 7 – 4 – 2 = + 1
CD = 4 – 0 – 6 = - 2
Select cell BD since it reduces cost to a larger extent (by birr 7 per unit)
Improved solution
Warehouse supply
Plant D E F
6 A4 1
50 50
3 B 8
20 7
20 40
4 C4 2
25 35 60
Demand 20 95 35 150
TC= Birr 590
R1 = 0 Evaluation
C2 = 4 AD = 6-0-4 = + 2
R2 = 4 AF = 1- 0 – 4 = -1
C1 = -1 BF = 7 – 4 – 2 = +1
R3 = 0 CD = 4 – 0 – (-1) =5
Select cell AF
8|P a g e
Improved solution
Warehouse supply
Plant D E F
6 A4 1
15 35 50
3 B 8
20 7
20 40
4 C4 2
60 60
Demand 20 95 35 150
TC = Birr 555
Distribution plan
Route (From to ) Quantity Cost
Plant A ----- Warehouse E 15 Birr 60
Plant A ----- Warehouse F 35 Birr 35
Plant B ----- Warehouse D 20 Birr 60
Plant B ----- Warehouse E 20 Birr 160
Plant C ------ Warehouse E 60 Birr 240
Total Cost = Birr 555
Example
Given the following transportation problem, determine the best transportation schedule
9|P a g e
D1 D2 D3 Supply
Q1 1 3 4 200
Q2 2 6 8 500
Q3 2 5 7 300
Demand 200 100 400
After we add dummy row or dummy column, we will use the same procedure for finding an
initial feasible solution or for evaluating it for optimality.
Demand supply
Plant D1 D2 D3 D4 (Dummy)
1 Q1 200
3 4 0
200
2 Q2 6 8 0
200 300 500
2 Q3 5 7
100 0
200 300
A B C Supply
X 4 10 6 100
Y 8 16 6 300
Z 14 18 18 10 300
Demand 200 300 200 700
10 | P a g e
Because of road construction the Y-C route is now closed. Solve the problem.
LCM
Demand supply
Plant A B C
4 X 10
100 6
100
8 Y 16
100 M
200 300
14
Z 18 10
Demand supply
Plant D1 D2 D3 D4
5 A 10
4
105 10
6 B 208 7 2
5 25
4 C 52 105 57 20
Demand 25 10 15 5 55
11 | P a g e
TC = BIRR 235
Does the problem have an alternate optimal solution? Identify. Let’s evaluate it with
MODI method
r1 = 0 AD1 = 5 – 0 – 3 = 2
k3 = 4 AD2 = 4 – 0 – 1 = 3
r3 = 1 AD4 = 5 – 0 – (-1) = 6
k2 = 1 BD2 = 8 – 3 – 1 = 4
r2 = 3 BD3 = 7 – 3 - 4 = 0 *
k4 = -1 CD4 = 7 – 1 – (-1) = 7
Since there is no negative evaluation result, we can conclude that this is an optimal
solution. But the net evaluation result of cell BD3 is 0 which indicates the existence of an
optimal solution. Let’s improve the solution by using cell BD3.
Improved solution
Demand supply
Plant D1 D2 D3 D4
5 A 10
4 5
10 10
6 B 158 7
52 5 25
4 C 102 105 7
20
Demand 25 10 15 5 55
TC= BIRR 235. It gives the same total cost
4. Degeneracy
We have seen that a basic feasible solution of a transportation problem must have an
Error: Reference source not found number of occupied cells where, m represents the
number of rows and n represents the number of columns. A solution is degenerate if the
number of occupied cells is less than Error: Reference source not found. If it is
degenerate, it is impossible to evaluate using both the stepping stone and MODI method.
12 | P a g e
Example
Solve the following transportation problem
NWCM
Demand supply
Plant D1 D2 D3 D4
7 A 203 408 6
60
4 B 2
105
1
50
0
40 100
2 C 5 6 1
40 40
Demand 20 50 50 80 200
TC = Birr 970
r1 = 0 k3 = 6 AD3 = 8 – 0 – 6 = 2
k1 = 7 k4 = 11 AD4 = 6 – 0 – 11 = -5
k2 = 3 r3 = -10 BD1 = 4 – (-1) – 7 = - 2
r2 = -1 CD1 = 2 – (-10) – 7 = 5
CD2 = 5 – (-10) – 3 = 12
CD3 = 6 – (-10) – 6 = 10
Demand supply
r1=0
7 A 203 408
6
+2 +2 60
r2=-1
4 B -42 105
1
50
0
40 100
r3=-10
2 C +55 6
+12 1
+7 40 40
Demand 20 50 50 80 200
13 | P a g e
5. Maximization problems
A transportation tableau may contain unit profits instead of unit costs and the objective
function may be maximization of profits instead of minimization of costs. First we
change to opportunity cost table and apply the same procedure.
Example
Solve the following transportation problem given unit profits from each source to each
destination.
A B C D Supply
X 12 18 6 25 200
Y 8 7 10 18 500
Z 14 3 11 20 300
Demand 180 320 100 400 1000
Identify the largest per unit profit and subtract all values from it.
A B C D Supply
A 13 7 19 0 200
B 17 18 15 7 500
C 11 22 14 5 300
Demand 180 320 100 400 1000
Exercises:
To
From Store - 1 Store 2 Store 3 Supply
Warehouse A 12 20 15 50
Warehouse B 9 11 4 15
Warehouse C 20 14 8 55
Demand 25 50 45 120
a. Develop an initial feasible solution using the North West comer method, compute the
total cost for this solutions.
b. Evaluate the solution using the stepping stone method. Is the solution optimal?
Explain
c. Repeat the evaluation using MODI and compare your cell evaluations to those
14 | P a g e
obtained using the stepping stone method.
d. Obtain an improved solution and evaluate it using MODI. Is it optimal?
e. What is the total cost for your optimal solution?
2. The Microsoft enterprise manufactures the central processing unit (CPU) for a line of
personal computers. The CPUs are manufactured in Seatle, Columbus, and Newyork,
and shipped to warehouses in pitsbugh, mobile, Denver, Los Angeles and Washington
DC for further distribution. The transportation table below shows the number of CPUs
available at each plant and the number of CPUs required by each warehouse. The
shipment costs are also shown below.
Pittsburgh Mobile Denver Los Washington SS
Angeles
Seattle 10 20 5 9 10 9000
Columbus 2 10 8 30 6 4000
New York 1 20 7 10 4 8000
DD 3000 5000 4000 6000 3000 21000
Ware hose
a. Determine the amount that should be shipped from each plant to each warehouse in
order to minimize the total shipping cost.
b. The pits burgh ware house has just increased its order by 1000 units and Microsoft
has authorized the Columbus plant to increase productivity by 1000 units, do you
expect this development to lead to an increase or a decrease in total shipping costs?
Solve for the new optimal solution.
15 | P a g e
columns, it is optimal. If not, select the smallest uncovered element; subtract this element
from all uncovered elements and add this element to each value located at the intersection
of any two lines. The cost elements through w/c only one line passes remain unchanged.
5. Repeat steps 3 and 4 until the number of covering lines is equal to the number of rows or
columns.
6. Make the assignments as indicated by the zero elements.
Example
A production supervisor is considering how he should assign the five jobs that are to be
performed to the five workers under him such that the aggregate time in days to complete
all the jobs is the least. Based on previous experience, he has the information on the time
taken by the five workers as given below.
Job
A B C D E
1 8 1 1 0 6
2 7 5 6 0 5
3 5 3 4 0 2
4 1 3 6 0 2
5 3 4 3 0 4
min 1 1 1 0 2
Step 2: Column reduction
A B C D E
1 7 0 0 0 4
2 6 4 5 0 3
3 4 4 3 0 0
16 | P a g e
4 0 2 5 0 0
5 2 3 2 0 2
A B C D E
1 7 0 0 0 4
2 6 4 5 0 3
3 4 2 3 0 0
4 0 2 5 0 0
5 2 3 2 0 2
Number of covering lines < number of rows/ columns which indicate that the solution is
not optimal.
- Subtract 2 from all uncovered values and add it to the intersection of any two
lines.
A B C D E
1 7 0 0 2 6
2 4 2 3 0 3
3 2 0 1 0 0
4 0 2 5 2 2
5 0 1 0 0 2
Assignment
A B C D E
1 7 0 0 2 6
17 | P a g e
0 2 4 2 3 0 3
3 2 0 1 0
0
4 2 5 2 2
0
5 0 1 0 2
0
18 | P a g e
Example
You are given the following information about the cost of performing different jobs by
different persons. Also you are given that person 1 cannot be assigned to job 3 and person
3 cannot be assigned to job 4.
Job
J1 J2 J3 J4 J5
P1 27 18 16 20 21
Person P2 31 24 21 12 17
P3 20 17 20 21 16
P4 22 28 20 16 27
Because this is the case of unbalanced and a prohibited assignment problem, we have
to first balance and handle the prohibited assignment as follows.
J1 J2 J3 J4 J5 row minimum
P1 27 18 M 20 21 18
P2 31 24 21 12 17 12
P3 20 17 20 M 16 16
P4 22 28 20 16 27 16
Dummy 0 0 0 0 0 0
Row reduction
A B C D E
P1 9 0 M 2 3
P2 19 12 9 0 5
P3 4 1 4 M 0
P4 6 12 4 0 11
dummy 0 0 0 0 0
Column 0 0 0 0 0
minimum
Column reduction
19 | P a g e
A B C D E
P1 9 0 M 2 3
P2 19 12 9 0 5
P3 4 1 4 M 0
P4 6 12 4 0 11
dummy 0 0 0 0 0
This is not optimal because the number of covering lines is less than the number of
J1 J2 J3 J4 J5
P1 9 0 M 6 3
P2 15 8 5 0 1
P3 4 1 4 M 0
P4 2 8 0 0 7
dummy 0 0 0 4 0
Assignment
A B C D E
1 9 M 6 3
0
02 15 8 5 0 1
03 4 1 4 M
4 2 8 0 7
0
5 0 0 4 0
0
P1 J2 = 18
P2 J4 = 12
P3 J5 = 16
20 | P a g e
P4 J3 = 20
Min cost = 66
J1 will remain unassigned
1 2 3 4 5
A 7 14 6 3
0
0 B 18 9 5 0 1
C 4 1 4 20
0
D 8 0 0 7
0
dummy 0 0 4 0
0
Alternative 1 Alternative 2
A 2 = 18
B4 = 12 A 2 = 18
C5 = 16 B 4 = 12
D1 = 20 C 5 = 16
E3 =0 D 3 = 20
Total = 66 E1 = 0
Total = 66
21 | P a g e
3. Maximization problems
As you have seen earlier, the objective of an assignment problem is minimization in most
of the cases. But sometimes the objective may be maximization instead of minimization
if unit profits are given.
Example
A company plans to assign 5 salesmen to 5 districts in w/c it operates. Estimates of sales
revenue in birr for each salesman in d/t districts are given as follows. Determine the
optimum assignment which maximizes the total sales revenue.
D1 D2 D3 D4 D5
S1 40 46 48 36 48
S2 48 32 36 29 44
S3 49 35 41 38 45
S4 30 46 49 44 44
S5 37 41 48 43 47
As we have done in the case of transportation problems, we will identify the largest
unit profit (49 in this case) and subtract all unit profits from the largest one so that it
D1 D2 D3 D4 D5
S1 9 3 1 13 1
S2 1 17 13 20 5
S3 0 14 8 11 4
S4 19 3 0 5 5
S5 12 8 1 6 47
After this we will follows the same procedure for assignment.
22 | P a g e