CA02CA3103 RMTTransportation Problem
CA02CA3103 RMTTransportation Problem
Transportation Problem
“We want these assets to be productive. We buy them. We own them. To say we care only
about the short term is wrong. What I care about is seeing these assets in the best hands.”
– Carl Icahn
PREVIEW
The structure of transportation problem involves a large number of shipping routes from several supply
centres to several demand centres. The objective is to determine the number of units of an item (commodity
or product) that should be shipped from an origin to a destination in order to satisfy the required quantity
of goods or services at each destination centre.
LEARNING OBJECTIVES
CHAPTER OUTLINE
9.1 Introduction 9.6 Variations in Transportation Problem
9.2 Mathematical Model of Transportation Problem 9.7 Maximization Transportation Problem
9.3 The Transportation Algorithm 9.8 Trans-shipment Problem
9.4 Methods of Finding Initial Solution • Conceptual Questions C
• Conceptual Questions A • Self Practice Problems C
• Self Practice Problems A • Hints and Answers
• Hints and Answers Chapter Summary
9.5 Test for Optimality Chapter Concepts Quiz
• Conceptual Questions B Case Study
• Self Practice Problems B Appendix: Theorem and Results
• Hints and Answers
Transportation Problem 257
9.1 INTRODUCTION
One important application of linear programming is in the area of physical distribution (transportation) of
goods and services from several supply centres to several demand centres. A transportation problem when
expressed in terms of an LP model can also be solved by the simplex method. However a transportation
problem involves a large number of variables and constraints, solving it using simplex methods takes a
long time. Two transportation algorithms, namely Stepping Stone Method and the MODI (modified
distribution) Method have been developed for solving a transportation problem.
The structure of transportation problem involves a large number of shipping routes from several supply
centres to several demand centres. Thus, objective is to determine shipping routes between supply centres
and demand centres in order to satisfy the required quantity of goods or services at each destination centre,
with available quantity of goods or services at each supply centre at the minimum transportation cost and/
or time.
The transportation algorithms help to minimize the total cost of transporting a homogeneous The study of
commodity (product) from supply centres to demand centres. However, it can also be applied to the transportation
maximization of total value or utility. problem helps to
There are various types of transportation models and the simplest of them was first presented by identify optimal
transportation routes
F L Hitchcock (1941). It was further developed by T C Koopmans (1949) and G B Dantzig (1951). Several along with units of
extensions of transportation models and methods have been subsequently developed. commodity to be
shipped in order to
minimize total
9.2 MATHEMATICAL MODEL OF TRANSPORTATION PROBLEM transportation cost.
Let us consider Example 9.1 to illustrate the mathematical model formulation of transportation problem of
transporting a single commodity from three sources of supply to four demand destinations. The sources
of supply are production facilities, warehouses, or supply centres, each having certain amount of
commodity to supply. The destinations are consumption facilities, warehouses or demand centres each
having certain amount of requirement (or demand) of the commodity.
Example 9.1 A company has three production facilities S1, S2 and S3 with production capacity of 7,
9 and 18 units (in 100s) per week of a product, respectively. These units are to be shipped to four
warehouses D1, D2, D3 and D4 with requirement of 5, 6, 7 and 14 units (in 100s) per week, respectively.
The transportation costs (in rupees) per unit between factories to warehouses are given in the table below:
D1 D2 D3 D4 Supply
(Availability)
S1 19 30 50 10 7
S2 70 30 40 60 9
S3 40 8 70 20 18
Demand 5 8 7 14 34
(Requirement)
Formulate this transportation problem as an LP model to minimize the total transportation cost.
Model formulation Let xij = number of units of the product to be transported from a production facility
i (i = 1, 2, 3) to a warehouse j ( j = 1, 2, 3, 4)
The transportation problem is stated as an LP model as follows:
Minimize (total transportation cost) Z = 19x11 + 30x12 + 50x13 + 10x14 + 70x21 + 30x22 + 40x23
+ 60x24 + 40x31 + 8x32 + 70x33 + 20x34
subject to the constraints
x11 + x12 + x13 + x14 = 17
x21 + x22 + x23 + x24 = 19 (Supply)
x31 + x32 + x33 + x34 = 18
258 Operations Research: Theory and Applications
To D1 D2 ... Dn Supply
From ai
c11 c12 ... c1n
S1 x11 x12 x1n a1
.. .. .. .. ..
. . . . .
cm1 cm2 ... cmn
Sm xm1 xm2 xmn am
Table 9.1
General
m n
Transportation Demand b1 b2 ... bn Σ ai = Σ b j
Table. bj i =1 j =1
Transportation Problem 259
In this problem, there are (m + n) constraints, one for each source of supply, and distinction and
m × n variables. Since all (m + n) constraints are equations, therefore, one of these equations is extra
(redundant). The extra constraint (equation) can be derived from the other constraints (equations), without
affecting the feasible solution. It follows that any feasible solution for a transportation problem must have
exactly (m + n – 1) non-negative basic variables (or allocations) xij satisfying the rim conditions.
Remarks 1. When the total supply is equal to the total demand, the problem is called a balanced
transportation problem, otherwise it is called an unbalanced transportation problem. The unbalanced
transportation problem can be made balanced by adding a dummy supply centre (row) or a dummy
demand centre (column) as the need arises.
2. When the number of positive allocations (values of decision variables) at any stage of the feasible When total demand
solution is less than the required number (rows + columns – 1), i.e. number of independent constraint equals total supply,
equations, the solution is said to be degenerate, otherwise non-degenerate. For proof, see Appendix the transportation
at the end of this chapter. problem is said to
be balanced.
3. Cells in the transportation table having positive allocation, i.e., xij > 0 are called occupied cells,
otherwise are known as non-occupied (or empty) cells.
Step 2: (a) If allocation made in Step 1 is equal to the supply available at first source (a1, in first row),
then move vertically down to the cell (2, 1), i.e., second row and first column. Apply Step 1 again, for next
allocation.
(b) If allocation made in Step 1 is equal to the demand of the first destination (b1 in first column),
then move horizontally to the cell (1, 2), i.e., first row and second column. Apply Step 1 again for next
allocation.
(c) If a1 = b1, allocate x11 = a1 or b1 and move diagonally to the cell (2, 2).
Step 3: Continue the procedure step by step till an allocation is made in the south-east corner cell of
the transportation table.
Remark If during the process of making allocation at a particular cell, the supply equals demand, then
the next allocation of magnitude zero can be made in a cell either in the next row or column. This condition
is known as degeneracy.
Example 9.2 Use North-West Corner Method (NWCM) to find an initial basic feasible solution to the
transportation problem using data of Example 9.1
Solution The cell (S1, D1) is the north-west corner cell in the given transportation table. The rim values
for row S1 and column D1 are compared. The smaller of the two, i.e. 5, is assigned as the first allocation;
otherwise it will violate the feasibility condition. This means that 5 units of a commodity are to be
transported from source S1 to destination D1. However, this allocation leaves a supply of 7 – 5 = 2 units
of commodity at S1.
Move horizontally and allocate as much as possible to cell (S1, D2). The rim value for row S1 is 2 and
for column D2 is 8. The smaller of the two, i.e. 2, is placed in the cell. Proceeding to row S2, since the demand
of D1 is fullfilled. The unfulfilled demand of D2 is now 8 – 2 = 6 units. This can be fulfilled by S2 with
capacity of 9 units. So 6 units are allocated to cell (S2, D2). The demand of D2 is now satisfied and a balance
of 9 – 6 = 3 units remains with S2.
D1 D2 D3 D4 Supply
19 30 50 10
S1 5 2 7
70 30 40 60
S2 6 3 9
40 8 70 20
S3 4 14 18
Table 9.2
Initial Solution
using NWCM Demand 5 8 7 14 34
Continue to move horizontally and vertically in the same manner to make desired allocations. Once the
procedure is over, count the number of positive allocations. These allocations (occupied cells) should be
equal to m + n – l = 3 + 4 – l = 6. If yes, then solution is non-degenerate feasible solution. Otherwise
degenerate solution.
The total transportation cost of the initial solution is obtained by multiplying the quantity xij in the
occupied cells with the corresponding unit cost cij and adding all the values together. Thus, the total
transportation cost of this solution is
Total cost = 5 × 19 + 2 × 30 + 6 × 30 + 3 × 40 + 4 × 70 + 14 × 20 = Rs 1,015
Step 1: Select the cell with the lowest unit cost in the entire transportation table and allocate as much
as possible to this cell. Then eliminate (line out) that row or column in which either the supply or demand
is fulfilled. If a row and a column are both satisfied simultaneously, then crossed off either a row or a column.
In case the smallest unit cost cell is not unique, then select the cell where the maximum allocation can
be made.
Step 2: After adjusting the supply and demand for all uncrossed rows and columns repeat the procedure
to select a cell with the next lowest unit cost among the remaining rows and columns of the transportation
table and allocate as much as possible to this cell. Then crossed off that row and column in which either
supply or demand is exhausted.
Step 3: Repeat the procedure until the available supply at various sources and demand at various
destinations is satisfied. The solution so obtained need not be non-degenerate.
Example 9.3 Use Least Cost Method (LCM) to find initial basic feasible solution to the transportation
problem using data of Example 9.1.
Solution The cell with lowest unit cost (i.e., 8) is (S3, D2). The maximum units which can be allocated
to this cell is 8. This meets the complete demand of D2 and leave l0 units with S3, as shown in Table 9.3.
In the reduced table without column D2, the next smallest unit transportation cost, is 10 in cell
(S1, D4). The maximum which can be allocated to this cell is 7. This exhausts the capacity of S1 and
leaves 7 units with D4 as unsatisfied demand. This is shown in Table 9.3.
D1 D2 D3 D4 Supply
19 30 50 10
S1 7
7
70 30 40 60
S2 9
40 8 70 20
S3 18
8
In Table 9.3, the next smallest cost is 20 in cell (S3, D4). The maximum units that can be allocated to
this cell is 7 units. This satisfies the entire demand of D4 and leaves 3 units with S3, as the remaining supply,
shown in Table 9.4.
In Table 9.4, the next smallest unit cost cell is not unique. That is, there are two cells – (S2, D3) and (S3,
D1) – that have the same unit transportation cost of 40. Allocate 7 units in cell (S2, D3) first because it can
accommodate more units as compared to cell (S3, D1). Then allocate 3 units (only supply left with S3) to cell
(S3, D1). The remaining demand of 2 units of D1 is fulfilled from S2. Since supply and demand at each supply
centre and demand centre is exhausted, the initial solution is arrived at, and is shown in Table 9.4.
D1 D2 D3 D4 Supply
19 30 50 10
S1 7
7
70 30 40 60
S2 9
2 7
40 8 70 20
S3 18
3 8 7
The total transportation cost of the initial solution by LCM is calculated as given below:
Total cost = 7 × 10 + 2 × 70 + 7 × 40 + 3 × 40 + 8 × 8 + 7 × 20 = Rs 814
The total transportation cost obtained by LCM is less than the cost obtained by NWCM.
262 Operations Research: Theory and Applications
S1 19 30 50 10 7 9 9 40 40
5 2
S2 70 30 40 60 9 10 20 20 20
7 2
S3 40 8 70 20 18 12 20 50 –
8 10
Demand 5 8 7 14 34
Column 21 22 10 10
Table 9.5 differences 21 – 10 10
Initial Solution – – 10 10
Using VAM – – 10 50
The new row and column penalties are calculated except column D2 because D2’s demand has been
satisfied. In the second round, the largest penalty, 21 appears at column D1. Thus the cell (S1, D1) having
the least transportation cost is chosen for allocating 5 units as shown in Table 9.5. After adjusting the
supply and demand in the table, we move to the third round of penalty calculations.
In the third round, the maximum penalty 50 appears at row S3. The maximum possible allocation of 10
units is made in cell (S3, D4) that has the least transportation cost of 20 as shown in Table 9.5.
The process is continued with new allocations till a complete solution is obtained. The initial solution
using VAM is shown in Table 9.5. The total transportation cost associated with this method is:
Total cost = 5 × 19 + 2 × 10 + 7 × 40 + 2 × 60 + 8 × 8 + 10 × 20 = Rs 779
Transportation Problem 263
Example 9.5 A dairy firm has three plants located in a state. The daily milk production at each plant
is as follows:
Plant 1 : 6 million litres, Plant 2 : 1 million litres, and Plant 3 : 10 million litres
Each day, the firm must fulfil the needs of its four distribution centres. The minimum requirement of each
centre is as follows:
Distribution centre 1 : 7 million litres, Distribution centre 2 : 5 million litres,
Distribution centre 3 : 3 million litres, and Distribution centre 4 : 2 million litres
Cost (in hundreds of rupees) of shipping one million litre from each plant to each distribution centre is given
in the following table:
Distribution Centre
D1 D2 D3 D4
P1 2 3 11 7
Plant P2 1 0 6 1
P3 5 8 15 9
Find the initial basic feasible solution for given problem by using following methods:
(a) North-west corner rule
(b) Least cost method
(c) Vogel’s approximation method
D1 D2 D3 D4 Supply
2 3 11 7
P1 6 = a1
6
1 0 6 1
Plant P2 1 = a2
1
5 8 15 9
P3 10 = a3 Table 9.6
5 3 2
Initial Solution by
NWCR
Demand 7 = b1 5 = b2 3 = b3 2 = b4
(i) Comparing a1 and b1, since a1 < b1; allocate x11 = 6. This exhausts the supply at P1 and leaves
1 unit as unsatisfied demand at D1.
(ii) Move to cell (P2, D1). Compare a2 and b1 (i.e. 1 and 1). Since a2 = b1, allocate x21 = 1.
(iii) Move to cell (P3, D2). Since supply at P3, is equal to the demand at D2, D3 and D4, therefore,
allocate x32 = 5, x33 = 3 and x34 = 2.
It may be noted that the number of allocated cells (also called basic cells) are 5 which is one less than
the required number m + n – 1 (3 + 4 – 1 = 6). Thus, this solution is the degenerate solution. The
transportation cost associated with this solution is:
Total cost = Rs (2 × 6 + l × l + 8 × 5 + 15 × 3 + 9 × 2) × 100 = Rs 11,600
264 Operations Research: Theory and Applications
D1 D2 D3 D4 Supply
2 3 11 7
P1 6
6
1 0 6 1
Plant P2 1
1
Table 9.7
Initial Solution by 5 8 15 9
P3 10
LCM 1 4 3 2
Demand 7 5 3 2
(i) The lowest unit cost in Table 9.7 is 0 in cell (P2, D2), therefore the maximum possible allocation that
can be made is 1 unit. Since this allocation exhausts the supply at plant P2, therefore row 2 is crossed
off.
(ii) The next lowest unit cost is 2 in cell (P1, D1). The maximum possible allocation that can be made
is 6 units. This exhausts the supply at plant P1, therefore, row P1 is crossed off.
(iii) Since the total supply at plant P3 is now equal to the unsatisfied demand at all the four distribution
centres, therefore, the maximum possible allocations satisfying the supply and demand conditions,
are made in cells (P3, D1), (P3, D2), (P3, D3) and (P3, D4).
The number of allocated cells in this case are six, which is equal to the required number
m + n – 1 (3 + 4 – 1 = 6). Thus, this solution is non-degenerate. The transportation cost associated with
this solution is
Total cost = Rs (2 × 6 + 5 × l + 8 × 4 + 15 × 3 + 9 × 2) × 100 = Rs 11,200
(c) Vogel’s Approximation Method: First calculating penalties as per rules and then allocations are made
in accordance of penalties as shown in Table 9.8.
2 3 11 7 6 1 1 5
P1
1 5
1 0 6 1 1 0 – –
Plant P2
1
5 8 15 9 10 3 3 4
P3
6 3 1
Demand 7 5 3 2
Column penalty 1 3 5 6
Table 9.8 3 5 4 2
Initial Solution by 3 – 4 2
VAM Distribution Centre
The number of allocated cells in Table 9.8 are six, which is equal to the required number
m + n – 1 (3 + 4 – 1 = 6), therefore, this solution is non-degenerate. The transportation cost associated
with this solution is:
Total cost = Rs (2 × 1 + 3 × 5 + 1 × 1 + 5 × 6 + 15 × 3 + 9 × 1) × 100 = Rs 10,200
Remark: Total transportation cost found by VAM is lower than the costs of transportation determined
by the NWCR and LCM methods. Therefore, it is of advantage to use this method in order to reduce
computational time required to obtain optimum solution.
Transportation Problem 265
CONCEPTUAL QUESTIONS A
1. Show that all the bases for a transportation problem are 8. What is meant by the triangular form of a system of linear
triangular. equations? When does a system of linear equations have a
2. With reference to a transportation problem define the following triangular basis? (See Appendix for proof.)
terms: 9. What is meant by non-degenerate basic feasible solution of a
ii(i) Feasible solution v(ii) Basic feasible solution transportation problem?
(iii) Optimal solution 10. Explain in brief three, methods of initial feasible solution for
(iv) Non-degenerate basic feasible solution transportation problem.
3. Given a mathematical formulation of the transportation problem 11. Explain the various steps involved in solving transportation
and the simplex methods, what are the differences in the nature problem using (i) Least cost method, and (ii) Vogel’s
of problems that can be solved by using these methods? approximation method.
4. Prove that there are only m + n – 1 independent equations in 12. Explain the (i) North-West Corner method, (ii) Least-Cost method,
a transportation problem, m and n being the number of origins and (iii) Vogel’s Approximation method, for obtaining an initial
and destination, and only one equation can be dropped as being basic feasible solution of a transportation problem.
redundant. (For proof see Appendix).
13. State the transportation problem. Describe clearly the steps
5. Describe the transportation problem with its general mathematical
involved in solving it.
formulation.
14. Is the transportation model an example of decision-making
6. Show that a transportation problem is a special type of LP under certainty or under uncertainty? Why?
problem. In what areas of management can the transportation
model be effectively used? Discuss. 15. Why does Vogel’s approximation method provide a good initial
feasible solution? Can the North-West Corner method ever be
7. What are the characteristics of transportation problem of linear able to provide an initial solution with a cost as low as this?
programming?
1. Determine an initial basic feasible solution to the following 3. Determine an initial basic feasible solution to the following
transportation problem by using (a) NWCR, (b) LCM and (c) transportation problem by using (a) NWCM, (b) LCM, and (c)
VAM. VAM.
Destination Destination
D1 D2 D3 D4 Supply D1 D2 D3 D4 Supply
S1 21 16 15 3 11 A 11 13 17 14 250
Source S2 17 18 14 23 13 Source B 16 18 14 10 300
S3 32 27 18 41 19 C 21 24 13 10 400
2. Determine an initial basic feasible solution to the following 4. Determine an initial basic feasible solution to the following
transportation problem by using (a) the least cost method, and transportation problem by using the North-West corner rule,
(b) Vogel’s approximation method. where O i and Dj represent ith origin and jth destination,
respectively.
Destination
Destination
D1 D2 D3 D4 Supply D1 D2 D3 D4 Supply
S1 1 2 1 4 30 O1 6 4 1 5 14
Source S2 3 3 2 1 30 Source O2 8 9 2 7 16
S3 4 2 5 9 40 O3 4 3 6 2 5
Demand 20 40 30 10 Demand 6 10 15 4
1. x14 = 11, x21 = 6, x22 = 3, x24 = 4, x32 = 3, x33 = 4, x34 = 12; Total cost = 686.
2. (a) and (b): x11 = 20, x13 = 10, x22 = 20, x33 = 20, x24 = 10, x32 = 20; Total cost = 180.
3. (a) x11 = 200, x12 = 50, x22 = 175, x23 = 125, x33 = 150, x34 = 250; Total cost = 12,200.
(b) x11 = 200, x12 = 50, x22 = 175, x23 = 125, x33 = 150, x34 = 250; Total cost = 12,200.
(c) x11 = 200, x12 = 50, x22 = 175, x24 = 125, x33 = 275, x34 = 125; Total cost = 12,075.
4. x11 = 6; x12 = 8; x22 = 2; x23 = 14; x33 = 1; x34 = 4 ; Total cost = Rs 128.
266 Operations Research: Theory and Applications
variables one for each demand constraint j. Then, the dual of the transportation model can be written as:
Transportation Problem 267
m n
Maximize Z * = Σ ( ui+ − ui− ) a i + Σ ( vj + − vj− ) bj
i =1 j =1
subject to the constraints
( u i+ − u i− ) + ( vj + − vj − ) ≤ cij
and u i+ , u i− , vj + , vj − ≥ 0 , for all i and j.
The variables ui+
and ui−
that appear in the objective function, may take positive, negative or zero
values. Thus, either of these will appear in the optimal basic feasible solution because one is the negative
of the other. The same argument may be given for vj+ and vj −. Thus, let
ui = ui+ − ui− , i = 1, 2, . . ., m
vj = vj + − vj − , j = 1, 2, . . ., n`
The values of ui and vj will then be unrestricted in sign. Hence, the dual of the transportation model can
now be written as
m n
Maximize Z * = Σ ui ai + Σ v j b j
i =1 j =1
subject to the constraints
ui + vj ≤ cij
and ui, vj unrestricted in sign for all i and j.
The relationship (cij – ui – vj) xij = 0 is known as complementary slackness for a transportation problem
and indicates that
(a) if xij > 0 and solution is feasible, then cij – ui – vj = 0 or cij = ui + vj, for each occupied cell,
(b) if xij = 0 and cij > ui + vj, then it is not desirable to have xij > 0 in the solution mix because it would
cost more to transport on a route (i, j),
(c) if cij ≤ ui + vj for some xij = 0, then xij can be brought into the solution mix.
S1 19 30 50 10 7 u1
S2 70 30 40 60 9 u2
S3 40 8 70 20 18 u3
Demand 5 8 7 14 34
vj v1 v2 v3 v4 Table 9.9
Interpretation Consider the dual constraint u1 + v1 ≤ 19 or v1 ≤ 19 – u1. This represents the delivered
market value of the commodity at destination D1 which should be less than or equal to the unit cost of
transportation from S1 to D1 minus the per unit value of commodity at D1. A similar interpretation can also
be given for other constraints.
The optimal value of dual variables can be obtained either by simplex method or by reading values of
these variables from the optimal solution of transportation problem. It may be noted that the total
transportation cost at optimal solution would be the same as obtained by putting values of ui’s and vj’s from
optimal solution of transportation problem in the dual objective function:
3 4
Maximize Z = Σ ai ui + Σ b j v j
i =1 j =1
Fig. 9.1
Flow Chart of
MODI Method
The steps of MODI method for solving a transportation problem are summarized in the flow chart
shown in Fig. 9.1.
Table 9.10
(a) (b)
270 Operations Research: Theory and Applications
Remarks 1. Every loop has an even number of cells and has at least four cells.
2. The allocations are said to be in independent position if it is not possible to increase or decrease any
individual allocation without changing the positions of these allocations, or if a closed loop cannot
be formed through these allocations without violating the rim conditions.
3. Each row and column in the transportation table should have only one plus and minus sign. All cells
that have a plus or a minus sign, except the starting unoccupied cell, must be occupied cells.
4. Closed loops may or may not be in the shape of a square.
Example 9.6 Apply MODI method to obtain optimal solution of transportation problem using the data
of Example 9.1.
D1 D2 D3 D4 Supply
S1 19 30 50 10 17
S2 70 30 40 60 9
S3 40 18 70 20 18
Demand 5 8 7 14 34
Solution Applying Vogel’s approximation method to obtain an initial basic feasible solution. This
solution is shown in Table 9.11 [for ready reference see Table 9.5].
1. In Table 9.11, since number of occupied cells are m + n – 1 = 3 + 4 – 1 = 6 (as required), therefore
this initial solution is non-degenerate. Thus, an optimal solution can be obtained. The total transportation
cost associated with this solution is Rs 779.
2. In order to calculate the values of uis (i = 1, 2, 3) and vjs ( j = 1, 2, 3, 4) for each occupied cell, assigning
arbitrarily, v4 = 0 in order to simplify calculations. Given v4 = 0, u1, u2 and u3 can be immediately
computed by using the relation cij = ui + vj for occupied cells, as shown in Table 9.11.
D1 D2 D3 D4 Supply ui
S1 19 30 50 10 u1 = 10
5 + 32 + 60 2 7
S2 70 30 40 60 u2 = 60
+1 (+) 7 2 (–) 9
– 18
S3 40 8 70 20 u3 = 20
(–) 8 10 (+) 18
+ 11 + 70
c34 = u3 + v4 or 20 = u3 + 0 or u3 = 20
c24 = u2 + v4 or 60 = u2 + 0 or u2 = 60
c14 = u1 + v4 or 10 = u1 + 0 or u1 = 10
Given u1, u2, and u3, value of v1, v2 and v3 can also be calculated as shown below:
c11 = u1 + v1 or 19 = 10 + v1 or v1 = – 19
c23 = u2 + u3 or 40 = 60 + v3 or v3 = – 20
c32 = u3 + v2 or 8 = 20 + v2 or v2 = – 12
Transportation Problem 271
3. The opportunity cost for each of the occupied cell is determined by using the relation
dij = cij – (ui + vj) and is shown below.
d12 = c12 – (u1 + v2) = 30 – (10 – 12) = 32
d13 = c13 – (u1 + v3) = 50 – (10 – 20) = 60
d21 = c2l – (u2 + v1 ) = 70 – (60 + 19) = 1
d22 = c22 – (u2 + v2) = 30 – (60 – 12) = – 18
d31 = c31 – (u3 + v1) = 40 – (20 + 19) = 11
d33 = c33 – (u3 + v3) = 70 – (20 – 20) = 70
4. According to the optimality criterion for cost minimizing transportation problem, the current solution
is not optimal, since the opportunity costs of the unoccupied cells are not all zero or positive. The
value of d22 = – 18 in cell (S2, D2) is indicating that the total transportation cost can be reduced in
the multiple of 18 by shifting an allocation to this cell.
5. A closed-loop (path) is traced along row S2 to an occupied cell (S3, D2). A plus sign is placed in cell
(S2, D2) and minus sign in cell (S3, D2). Now take a right-angle turn and locate an occupied cell in
column D4. An occupied cell (S3, D4) exists at row S3, and a plus sign is placed in this cell.
Continue this process and complete the closed path. The occupied cell (S2, D3) must be bypassed
otherwise they will violate the rules of constructing closed path.
6. In order to maintain feasibility, examine the occupied cells with minus sign at the corners of closed loop,
and select the one that has the smallest allocation. This determines the maximum number of units that
can be shifted along the closed path. The minus signs are in cells (S3, D2) and (S2, D4). The cell
(S2, D4) is selected because it has the smaller allocation, i.e. 2. The value of this allocation is then added
to cell (S2, D2) and (S3, D4), which carry plus signs. The same value is subtracted from cells (S2, D4)
and (S3, D2) because they carry minus signs.
7. The revised solution is shown in Table 9.12. The total transportation cost associated with this solution
is:
Total cost = 5 × 19 + 2 × 10 + 2 × 30 + 7 × 40 + 6 × 8 + 12 × 20 = Rs 743
D1 D2 D3 D4 Supply ui
S1 19 30 50 10 u1 = 0
5 +32 +42 2 7
S2 70 30 40 60 u2 = 32
+ 19 2 7 +14 9
S3 40 8 70 20 u3 = 10
+ 11 6 + 52 12 18
Demand 5 8 7 14 34
Table 9.12
vj v1 = 19 v2 = – 2 v3 = 8 v4 = 10 Optimal Solution
8. Test the optimality of the revised solution once again in the same way as discussed in earlier steps.
The values of uis, vjs and dijs are shown in Table 9.12. Since each of dijs is positive, therefore, the
current basic feasible solution is optimal with a mi]nimum total transportation cost of Rs 743.
Example 9.7 A company has factories at F1, F2, and F3 that supply products to warehouses at W1, W2
and W3. The weekly capacities of the factories are 200, 160 and 90 units, respectively. The weekly warehouse
requirements are 180, 120 and 150 units, respectively. The unit shipping costs (in rupees) are as follows:
272 Operations Research: Theory and Applications
Warehouse
W1 W2 W3 Supply
F1 16 20 12 200
Factory F2 14 8 18 160
F3 26 24 16 90
Determine the optimal distribution for this company in order to minimize its total shipping cost.
Solution Initial basic feasible solution obtained by North-West Corner Rule is given in Table 9.13.
Since, as required, this initial solution has m + n – l = 3 + 3 – l = 5 allocations, it is a non-degenerate solution.
The optimality test can, therefore, be performed. The total transportation cost associated with this solution is:
W1 W2 W3 Supply
F1 16 20 12
180 20 200
F2 14 8 18
100 60 160
F3 26 24 16
90 90
Table 9.13
Initial Solution Demand 180 120 150 450
W1 W2 W3 Supply ui
Table 9.14 vj v1 = 16 v2 = 20 v3 = 30
c11 = u 1 + v1 or 16 = 0 + v1 or v1 = 16
c12 = u 1 + v2 or 20 = 0 + v2 or v2 = 20
c22 = u2 + v2 or 8 = u2 + 20 or u2 = – 12
c23 = u2 + v3 or 18 = –12 + v3 or v3 = – 30
c33 = u3 + v3 or 16 = u3 + 30 or u3 = – 14
Transportation Problem 273
The opportunity cost for each of the unoccupied cells is determined by using the equation,
dij = cij – (ui + vj) as follows:
The value of d13 = – 18 in the cell (F1, W3) indicates that the total transportation cost can be
reduced in a multiple of 18 by introducing this cell in the new transportation schedule. To see how many
units of the commodity could be allocated to this cell (route), form a closed path as shown in
Table 9.14.
The largest number of units of the commodity that should be allocated to the cell (F1, W3) is 20 units
because it does not violate the supply and demand restrictions (minimum allocation among the occupied
cells bearing negative sign at the corners of the loop). The new transportation schedule (solution) so
obtained is shown in Table 9.15.
W1 W2 W3 Supply
F1 16 20 12
180 20 200
F2 14 8 18
120 40 160
F3 26 24 16
90 90
The value of d21 = – 8 in the cell (F2, W1) indicates that the total cost of transportation can further
be reduced in a multiple of 8 by introducing this cell in the new transportation schedule. The new solution
is obtained by introducing 40 units of the commodity in the cell (F2, W1), as indicated in Table 9.16. The
new solution is shown in Table 9.17.
274 Operations Research: Theory and Applications
W1 W2 W3 Supply ui
F1 16 20 12 u1 = 12
(–) 180 20 (+) 200
18
F2 14 8 18 u2 = 18
(+) 120 40 (–) 160
–8
F3 26 24 16 u3 = 16
90 90
6
Table 9.16 vj v1 = 4 v2 = – 10 v3 = 0
W1 W2 W3 Supply
F1 16 20 12
140 60 200
F2 14 8 18
40 120 160
F3 26 24 16
90 90
Table 9.17
Demand 180 120 150
Revised Schedule
W1 W2 W3 Supply ui
F1 16 20 12 u1 = 16
140 +10 60 200
F2 14 8 18 u2 = 14
40 120 +8 160
F3 26 24 16 u3 = 20
+6 +10 90 90
Table 9.18 vj v1 = 0 v2 = – 6 v3 = – 4
Since none of the unoccupied cells in Table 9.18 has a negative opportunity cost value, therefore, the
total transportation cost cannot be reduced further. Thus, the solution shown in Table 9.18 is the optimal
solution, giving the optimal transportation schedule with a total cost of Rs 5,920.
Example 9.8 The following table provides all the necessary information on the availability of supply
to each warehouse, the requirement of each market, and the unit transportation cost (in Rs) from each
warehouse to each market.
Market
P Q R S Supply
A 6 3 5 4 22
Warehouse B 5 9 2 7 15
C 5 7 8 6 8
Demand 7 12 17 9 45
The shipping clerk of the shipping agency has worked out the following schedule, based on his own
experience: 12 units from A to Q, 1 unit from A to R, 9 units from A to S, 15 units from B to R, 7 units from
C to P and 1 unit from C to R.
(a) Check and see if the clerk has the optimal schedule.
(b) Find the optimal schedule and minimum total transport cost.
(c) If the clerk is approached by a carrier of route C to Q, who offers to reduce his rate in the hope of
getting some business, by how much should the rate be reduced before the clerk would offer him the
business.
Solution (a) The shipping schedule determined by the clerk based on his experience is shown in
Table 9.19. The total transportation cost associated with this solution is
Total cost = 3 × 12 + 5 × 1 + 4 × 9 + 2 × 15 + 5 × 7 + 8 × 1 = Rs 150
Since the number of occupied cells (i.e. 6) is equal to the required number of occupied cells (i.e.
m + n – 1) in a feasible solution, therefore the solution is non-generate feasible solution. Now, to test the
optimality of the solution given in Table 9.19, evaluate each unoccupied cell in terms of the opportunity
cost associated with it. This is done in the usual manner and is shown in Table 9.20.
P Q R S Supply
A 6 3 5 4
12 1 9 22
B 5 9 2 7
15 15
C 5 7 8 6
7 1 8
Table 9.19
Demand 7 12 17 9 45 Initial Solution
In Table 9.20, cell (C, S) has a negative opportunity cost (i.e. – 1). Thus, this solution is not the optimal
solution and, therefore, the schedule prepared by the shipping clerk is not optimal.
(b) By forming a closed-loop to introduce the cell (C, S) into the new transportation schedule as shown
in Table 9.20, we get a new solution that is shown in Table 9.21.
276 Operations Research: Theory and Applications
P Q R S Supply ui
A 6 3 5 4 u1 = 0
+4 12 (+) 1 9 (–) 22
B 5 9 2 7 u2 = – 3
15 15
+9 +6
C 5 7 8 6 u3 = 3
7 (–) 1 (+) 8
+1 –1
Demand 7 12 17 9 45
Table 9.20 vj v1 = 2 v2 = 3 v3 = 5 v4 = 4
While testing the optimality of the improved solution shown in Table 9.21, we found that the
opportunity costs in all the unoccupied cells are positive. Thus the current solution is optimal and the
optimal schedule is to transport 12 units from A to Q; 2 units from A to R; 8 units from A to S; 15 units
from B to R; 7 units from C to P and 1 unit from C to S. The total minimum transportation cost associated
with this solution is
Total cost = 3 × 12 + 5 × 2 + 4 × 8 + 2 × 15 + 5 × 7 + 6 × 1 = Rs 149
P Q R S Supply ui
A 6 3 5 4 u1 = 0
+3 12 2 8 22
B 5 9 2 7 u2 = – 3
+5 +9 15 +6 15
C 5 7 8 6 u3 = 2
7 +2 +1 1 8
Demand 7 12 17 9 45
Table 9.21
Optimal Solution vj v1 = 3 v2 = 3 v3 = 5 v4 = 4
(c) The total transportation cost will increase by Rs 2 (opportunity cost) if one unit of commodity is
transported from C to Q. This means that the rate of the carrier on the route C to Q should be reduced
by Rs 2, i.e. from Rs 7 to Rs 5 so as to get some business of one unit of commodity only.
In case all the 8 units available at C are shipped through the route (C, Q), then the solution presented
in Table 9.21 may be read as shown in Table 9.22.
P Q R S Supply
A 6 3 5 4
7 4 2 9 22
B 5 9 2 7
15 15
C 5 7 8 6
8 8
Example 9.10 ABC Limited has three production shops that supply a product to five warehouses. The
cost of production varies from shop to shop and cost of transportation from one shop to a warehouse also
varies. Each shop has a specific production capacity and each warehouse has certain amount of
requirement. The costs of transportation are given below:
Warehouse
I II III IV V Supply
A 6 4 4 7 5 100
Shop B 5 6 7 4 8 125
C 3 4 6 3 4 175
A 14 7,000
B 16 4,000
C 15 5,000
Find the optimum quantity to be supplied from each shop to different warehouses at the minimum total
cost. [Delhi Univ., MBA, 2007]
Solution In this case, the fixed cost data is of no use. The transportation cost matrix will include the
given transportation cost plus the variable cost, as shown in Table 9.23.
I II III IV V Supply
A 6 + 14 = 20 4 + 14 = 18 4 + 14 = 18 7 + 14 = 21 5 + 14 = 19 100
B 5 + 16 = 21 6 + 16 = 22 7 + 16 = 23 4 + 16 = 20 8 + 16 = 24 125
C 3 + 15 = 18 4 + 15 = 19 6 + 15 = 21 3 + 15 = 18 4 + 15 = 19 175
The optimal solution obtained by applying MODI method is shown in Table 9.24.
I II III IV V Supply ui
A 20 18 18 21 19 u1 = 18
15 85 100
+3 +5 +1
B 21 22 23 20 24 u2 = 22
20 105 125
0 +1 +2
C 18 19 21 18 19 u3 = 19
60 45 70 175
+2 +1
Demand 60 80 85 105 70
Table 9.24
vj v1 = – 1 v2 = 0 v3 = 0 v4 = – 2 v5 = 0 Optimal Solution
278 Operations Research: Theory and Applications
CONCEPTUAL QUESTIONS B
1. Consider four bases of operation Bi and three targets Tj. The product to the five customers. The net unit cost of transporting
tons of bombs per aircraft from any base that can be delivered from the three plants to the five customers is given below:
to any target are given in the following table:
Customers
Target (Tj )
A B C D E
T1 T2 T3
I 4 1 3 4 4
B1 8 6 5
Plants II 2 3 2 2 3
Base (Bi ) B2 6 6 6
B3 10 8 4 III 3 5 2 4 4
Distribution Retail Outlets Suggest an optimum transportation schedule and find the minimum
Centre cost of transportation.
A B C D E
10. A company has three plants and four warehouses. The supply
Agra 55 30 40 50 40 and demand in units and the corresponding transportation costs
are given. The table below has been taken from the solution
Allahabad 35 30 100 45 60 procedure of a transportation problem:
Kolkata 40 60 95 35 30 Warehouses
The cost (in paise) of shipping a loaf from a plant to a restaurant Determine a delivery schedule for the baking firm that will
chain is: maximize its profit from this bread.
Write the dual of this transportation problem and use it for
Chain 1 Chain 2 Chain 3 Chain 4 checking the optimal solution to the given problem.
[Delhi Univ., MBA, 2005]
Plant A 6 8 11 9
Plant B 12 6 8 5
1. The initial solution obtained by VAM is also the optimal 8. x11 = 10,000, x14 = 10,000, x22 = 18,000, x23 = 6,000,
solution: x11 = 50, x12 = 100, x21 = 150, x33 = 150, x24 = 14,000, x33 = 16,000, Total cost = Rs 1,66,000.
x42 = 100, x43 = 50. Maximum total tonnage = 3,300. 9. x11 = 3,500, x12 = 1,500, x22 = 2,500, x23 = 2,000, x24 = 1,500,
2. (A, b) = 5, (A, d ) = 13, (B, b) = 8, (B, c) = 12, (C, a ) = 15 x31 = 2,500, Total cost = Rs 39,500.
and (C, b) = 3, Total cost = Rs 301. 10. (a) The solution is feasible because it satisfies supply and
3. (I, B) = 45, (I, F ) = 15, (II, A) = 17, (II, D) = 18, demand constraints.
(III, A) = 5, (III, C) = 20 and (III, E) = 15, (b) The solution is non-degenerate because the number of
Total cost = Rs 290. occupied cells are equal to the required number of
4. (a) (A, F ) = 100, (B, F ) = 70, (B, I ) = 80, (C, E ) = 90, (m + n – 1) of occupied cells in the solution.
(C, G) = 50, (C, I ) = 40, (D, H ) = 210, (D, I ) = 70, (c) Solution is optimal.
Total cost = Rs 6,600. (d) The problem has alternative optimal solution because
(b) When transportation cost from A to G is reduced to 10, the opportunity cost for cell (B, III) is zero;
optimal schedule given in (a) remains unchanged. x11 = 10, x21 = 15, x23 = 5, x24 = 5, x31 = 10 and x32 = 10,
Total cost = Rs 235.
5. x11 = 15, x14 = 5, x22 = 19, x24 = 9, x33 = 13, x34 = 4, Total
(e) If cell (B, III) has a unit cost of 6, the opportunity cost
cost = Rs 209.
in this cell will be – 1 and, therefore, the given solution will
6. x11 = 5, x12 = 10, x13 = 20, x14 = 5, x21 = 20, x34 = 25, not be optimal. The new solution obtained will be:
x35 = 15, Total cost = Rs 3,650. x13 = 10, x21 = 15, x23 = 5, x24 = 5, x31 = 10, x32 = 10,
7. x12 = 2, x13 = 4, x15 = 2, x21 = 4, x31 = 1, x34 = 6, x35 = 1, Total cost = Rs 230.
Total cost = Rs 720.