Unit V-Session 05
Unit V-Session 05
Session 05
The Transportation Problem
Content
Aim
Learning Outcomes
Introduction
5.1 The Theory of Transportation Problem
5.2 Setting up a Transportation Problem
5.3 Developing an Initial Feasible Solution
5.4 Optimal Solution
5.5 Stepping Stone Method
5.6 Degeneracy
Summary
Aim
This session is for giving students knowledge about the theory and application
of transportation method in capacity management
Learning Outcomes
At the end of this session, you should be able to,
i) Set up the transportation problem
ii) Find the initial feasible solution
iii) Use stepping stone method to find optimum solution
Introduction
There is a type of linear programming problem that may be solved using a
simplified version of the simplex technique called transportation method.
Because of its major application in solving problems involving several
product sources and several destinations of products, this type of problem is
frequently called the transportation problem. It gets its name from its
application to problems involving transporting products from several sources
to several destinations. Although this formation can be used to represent more
general assignment and scheduling problems as well as transportation and
distribution problems. The two common objectives of such problems are
either minimize the cost of shipping m units to n destinations or maximize the
61
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
where
m … number of sources
n … number of destinations
ai … capacity of i-th source (in tons, pounds, litres, etc)
bj … demand of j-th destination (in tons, pounds, litres, etc.)
cij … cost coefficients of material shipping (unit shipping cost)
between i-th source and j-th destination (in Rs. or as a
distance in kilometres, miles, etc.)
xij … amount of material shipped between i-th source and j-th
destination (in tons, pounds, litres etc.)
Transportation Table
The transportation table, where supply availability at each source is shown in
the far right column and the destination requirements are shown in the bottom
row. Each cell represents one route. The unit shipping cost is shown in the
62
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
upper right corner of the cell, the amount of shipped material is shown in the
centre of the cell.
Where,
m … number of sources
n … number of destinations
ai … capacity of i-th source (in tons, pounds, litres, etc)
bj … demand of j-th destination (in tons, pounds, litres, etc.)
cij … unit material shipping cost between i-th source and j-th
destination (in Rs. or as a
distance in
kilometres, miles, etc.)
xij … amount of material shipped between i-th source and j-th
destination (in tons, pounds, litres etc.)
63
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
Factory supply, warehouse demands, and shipping costs per one chest (unit)
are shown in Table 5.2
Shipping Cost per Unit
(in Rupees)
Factory Supply Warehouse Demand From To To To To
E F G H
A 14 E 10 A 10 30 25 15
B 10 F 15 B 20 15 20 10
C 15 G 12 C 10 30 20 20
D 12 H 15 D 30 40 35 45
To Factory
E F G H
From Supply
10 30 25 15
A 14
20 15 20 10
B 10
10 30 20 20
C 15
30 40 35 45
D 12
0 0 0 0
Dummy 1
Destination 52
10 15 12 15
Requirements 52
Table 5.3: Transportation Matrix for the given Problem
64
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
The unit shipping costs are shown in the small boxes within the cells. It is
important at this step to make sure that the total supply availabilities and total
demand requirements are equal. Often there is an excess supply or demand.
In such situations, for the transportation method to work, a dummy warehouse
or factory must be added. Procedurally, this involves inserting an extra row
(for an additional factory) or an extra column (for an additional warehouse).
The amount of supply or demand required by the dummy equals the
difference between the row and column totals.
In this case the total supply and demand are:
Total factory supply … 51
Total warehouse requirements … 52
Thus we see here the warehouse requirement is higher that the supply. This
involves inserting an extra row - an additional factory. The amount of supply
by the dummy equals the difference between the row and column totals. In
this case there is 52 – 51 = 1.
The cost figures in each cell of the dummy row would be set at zero so any
units sent there would not incur a transportation cost. Theoretically, this
adjustment is equivalent to the simplex procedure of inserting a slack variable
in a constraint inequality to convert it to an equation, and, as in the simplex,
the cost of the dummy would be zero in the objective function.
Based on the information given set-up a transportation matrix that will help
Auto Lanka transporters to send the lorries to the desired locations with
minimum driving time. Assume the driving time between the town per unit
length is identical.
65
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
66
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
To Factory
E F G H
From Supply
10 30 25 15
A 14
03 06 05
20 15 20 10
B 10
10
10 30 20 20
C 15
09 06
30 40 35 45
D 12
12
0 0 0 0
Dummy 1
01
Destination 52
10 15 12 15
Requirements 52
Table 5.5: Least Cost Assignment
67
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
10 15 20 10
To Factory
E F G H
From Supply
10 30 25 15
A 14 05
20 15 20 10
B 10 05
10 30 20 20
C 15 10
30 40 35 45
D 12 05
0 0 0 0
Dummy (Y) 01 00
Destination 52
10 15 12 15
Requirements 52
Table 5.6: Transportation Table with VAM row and column differences
shown.
• Step 2:
Identify the row or column with the largest difference. In case of Table 5.6 it
is Column G, with a difference of 20.
• Step 3:
Allocate as much as possible to the lowest-cost cell in the row or column with
the highest difference. If two or more differences are equal, allocate as much
as possible to the lowest-cost cell in these rows or columns.
In the example in Column G the lowest-cost cell is YG. The maximum that
can be allocated to this cell is 1 piece. This is indicated in Table 5.7.
• Step 4:
Eliminate any row or column that has been just completely satisfied by the
assignment just made. This can done by placing ‘X’ in each appropriate
square. This is indicated in Figure 5.8. Where cells YE, YF and YH are placed
with X sign to indicate no further allocations could be done in this row.
• Step 5:
Recalculate the differences between the two lowest cells remaining in all rows
and columns. Any row and column with zero supply or demand should not be
used in calculating further differences.
For the example for the problem we have been discussing this is shown in
Table 5.9. Here the values of Columns E, G and H have changed. Row Y is
eliminated and the values for other rows and columns remain unchanged.
68
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
10 15 20 10
To Factory
E F G H
From Supply
10 30 25 15
A 14 05
20 15 20 10
B 10 05
10 30 20 20
C 15 10
30 40 35 45
D 12 05
0 0 0 0
Dummy (Y) 01 00
01
Destination 52
10 15 12 15
Requirements 52
Table 5.7: Transportation Table with VAM row and column differences
shown and after the First allocation to cell YG
10 15 20 10
To Factory
E F G H
From Supply
10 30 25 15
A 14 05
20 15 20 10
B 10 05
10 30 20 20
C 15 10
30 40 35 45
D 12 05
0 0 0 0
Dummy 01 00
X X 01 X
Destination 52
10 15 12 15
Requirements 52
Table 5.8: Transportation Table with VAM row and column differences
shown and after the First allocation to cell BF and eliminating the
rows/columns that have completely satisfied the quota.
69
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
10 0 15 15 20 0 10 05
To Factory
E F G H
From Supply
10 30 25 15
A 14 05 05
20 15 20 10
B 10 05 05
10 30 20 20
C 15 10 10
30 40 35 45
D 12 05 05
0 0 0 0
Dummy (Y) 01 00
X X 01 X
Destination 52
10 15 12 15
Requirements 52
Table 5.9: Second VAM Assignment with Row B’s Requirements
satisfied
• Step 6:
Return to Step 2 and repeat the steps until an initial feasible solution has been
obtained.
Table 10.10 gives the results of each of iterations through which the VAM
assignment steps have been carried out for the example we have been
discussing. Table 10.11 gives the final allocation table.
Differences in Rows Differences in Columns Allocate
Deleted
Iterati Ro Ro Ro Ro Ro d Cell
Colu Colu Colu Colu Row
on w w w w w (Amount
mn E mn F mn G mn H /Column
A B C D Y )
1 5 5 10 10 0 10 15 20 10 XG (01) Row Y
2 5 5 10 10 - 0 15 0 5 BF (10) Row B
3 5 - 10 10 - 0 0 5 5 CE (10) Column E
4 15 - 10 5 - - 0 5 5 AH (14) Row A
5 - - 10 5 - - 10 15 25 CH (01) Column H
6 - - 10 15 - - 10 15 - CG (04) Row C
7 - - - 15 - - - - - DG (07) Row D
8 - - - - - - - - - DF (05)
Table 5.10: Results of Iterations done using VAM
70
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
To Factory
E F G H
From Supply
10 30 25 15
A 14
14
20 15 20 10
B 10
10
10 30 20 20
C 15
10 04 01
30 40 35 45
D 12
05 07
0 0 0 0
Dummy (Y) 1
01
Destination 52
10 15 12 15
Requirements 52
Table 5.11: VAM assignments
The total cost according to this assignment would be (15x14) + (15x10) +
(10x10) + (20x04) + (20x01) + (40x05) + (35x07) + (0x1)
= Rupees 1005.00
Lanka Shirts owns factories in three towns, which distribute garments to three
of its retail dress shops in three other towns. Factory availabilities, projected
store demands, and unit shipping costs are summarised in the table below:
C 50 Z 40 C 3 6 5
Use Vogel’s approximation method to find an initial feasible solution to this
transportation problem.
71
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
REQUIREMENT
1 6 2 6
S
5 5
3 2 1 4
5 5
RESOURCE
2 6 5 3
5 1 1 2 1
1 4 2 7
72
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
Then, applying
Ui + Vj - Cij = 0 to cell (2,4), U2 + V4 - C2,4 = 0
0 + V4 - 3 =0
V4 =3
Applying the same formula to the other basic cells (3,4), (3,3),.(3,2), (3,1)
and (1,2) in turn, we can find U,V , V,V and U respectively as follows:
Cell (3,4):
U3 + V4 - 7 = 0 U3 + 3 - 7 = 0
U3 = 4
Cell (3,3):
U3 + V3 - 2 = 0 4 + V3 - 2 = 0
V3 = -2
Cell (3,2):
U3 + V2 - 4 = 0 4 + V2 - 4 = 0
V2 = 0
Cell (3,1):
U3 + V1 - 1 = 0 4 + V1 - 1 = 0
V1 = - 3
Cell (1,2):
U1 + V2 - 2 = 0 U1 + 0 - 2 = 0
U1 = 2
We have now found the shadow costs, and we can write the matrix with the
shadow cost as follows:
73
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
• Step 2:
Now, calculate Ui + Vj - Ci,j for the non basic cells. For example, take the
non basic cell (1,1),
Ui + Vj - Ci,j = U1 + V1 – C11
=2-3-3
= -4
Similarly, for cell (2,3),
Ui + Vj - Ci,j = U2 + V3 - C2,3
=0-2-5
=-7
Try to calculate the Ui + Vj - Ci,j values for other non basic cells (1.3) (1,4),
(2,1), (2,2). The new metrix with all the Ui + Vj - Ci,j values included will be
as follows:
Note that in the above matrix Ui + Vj- Ci,j values is non basic cells are
enclosed in a triangle to distinguish them from the basic cells (you may use a
different colour if you so desire).
• Step 3:
If all Ui + Vj - Cij 0, then the solution is optimal.
Otherwise, select the most positive Ui + Vj - Cij and make that cell a basic
cell.
In the above example, not all Ui + Vj - Ci,j in non basic cells are less than or
equal to zero.
74
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
In fact, the value in non basic cell (1,4) is +1, which happens to be the most
positive Ui + Vj - Ci,j. Let us make cell (1,4) basic.
• Step 4:
Find a close succession of horizontal and vertical jumps (i.e. 'loop'), with a
basic cell at each corner, starting and ending at cell (1,4).
Now make the largest change possible to each corner cell on the loop, all
changes with the sign given, best of same site, maintaining feasibility of the
solution.
In the above example, the largest change possible is 1, to cell (3,4).
Since the sign in cell (3,4) is negative, we take away 1 from this cell, this
making zero allocation to that cell.
In cell (1,4), the sign is positive and we add 1 to that cell making an allocation
of 1 to that cell. Similarly, we take away 1 from cell (1,2) and add 1 to cell
(3,2).
The new basic solution will be as follows:
• Step 5:
Using the basic solution in step 6, we now calculate new U 's and V 's using
the procedure described in step 3.
The new shadow prices are as follows:
U2 = 0 V4 =0
U1 = 1 V2 =1
U3 = 3 V3 = -1
V1 = -2
75
Copyright © 2021, The Open University of Sri Lanka
DMM6601- Unit 05: Management for Engineers Session 05: The Transportation Problem
• Step 6:
Using the new shadow prices just calculated. Calculate Ui + Vj - Ci,j’s for
this non basic cells.
In the above matrix, all Ui + Vj -Ci,j’s in the non basic cell are negative (
0). Therefore, above is the optimal so1ution.
The transportation cost is given by,
Cost = 4 x 2 + 1 x 4 +5 x 3 + 1 x 1+ 2 x 4 + 2 x 2 = 38 Units
Clearly, the above cost is less than that obtained for any other basic so1ution.
The above stepwise calculation may appear to be fairly lengthy, but in
practice it is not so. Most of the steps used above for the purpose of explaining
the procedure may not be necessary when tackling a problem.
Let us now solve the following problem.
76
Copyright © 2021, The Open University of Sri Lanka
DMM6601-Management for Engineers-Unit 05
5.6 Degeneracy
Degeneracy exists in a transportation problem when the number of filled cells
is less than the number of rows plus the number of columns minus one (m +
n - 1). Degeneracy may be observed either during the initial allocation when
the first entry in a row or column satisfies both the row and column
requirements or during the Stepping stone method application, when the
added and subtracted values are equal. Degeneracy requires some adjustment
in the matrix to evaluate the solution achieved. The form of this adjustment
involves inserting some value in an empty cell so a closed path can be
developed to evaluate other empty cells. This value may be thought of as an
infinitely small amount, having no direct bearing on the cost of the solution.
Summary
The transportation table is a table where supply availability at each source is
shown in the far right column and the destination requirements are shown in
the bottom row. Each cell represents one route. The unit shipping cost is
shown in the upper right corner of the cell, the amount of shipped material is
shown in the centre of the cell.
The initial allocation in transportation problems entails assigning numbers to
cells to satisfy supply and demand constraints. There are several methods by
which this cane be done: The North-West Corner method, The Least Count
method and Vogel’s Approximation method (VAM) are discussed in this
session.
Developing an optimal solution in a transportation problem involves
evaluating each unused cell to determine whether a shift into it is
advantageous from a total-cost standpoint. If it is, the shift is made, and the
process is repeated. When all cells have been evaluated and appropriate shifts
made, the problem is solved. One approach to making this evaluation is the
Stepping Stone Method.
77