Unit VI Transportation Problem
Unit VI Transportation Problem
6.1 Introduction
6.2 Formulation of Transportation Problem
6.3 The Transportation Algorithm
6.4 Methods for Finding Initial Basic Feasible Solution
6.4.1 Method 1- Least Cost Method
6.4.2 Method 2: North West Corner Method (NWCM)
6.4.3 Method 3: The Vogel’s Approximate Method
6.5 Moving Towards Optimality (MODI)
6.5.1 Degeneracy in Transportation Problem
6.6 Unbalanced Transportation Problem
6.7 Maximization in Transportation Problem
6.1 Introduction
The transportation problem is a special type of linear programming, to take care of
business issues have been in the physical distribution of products, regularly alluded to as
transportation problem. Essentially, the objective is to minimize the cost of transportation while
transporting the different products from its origin to their destination. The uncommon design of
the transportation problem permits us to settle it with a quicker, more prudent calculation than
simplex. Problem of this sort, containing a huge number of factors and imperatives, can be
tackled in almost no time on a computer. Indeed, we can solve relatively large transportation
problem by hand. There are two types of transportation problems
1. Balanced Transportation Problem- A transportation problem said to be a balanced
transportation problem if their supply and demand are equal.
2. Unbalanced Transportation Problem- A transportation problem said to be an unbalanced
transportation problem if the demand and supply are unequal.
Subject to constraints
n
x ij ≥ 0for all i∧ j
The above transportation problem is represented by a table as:
Table 1: Transportation Table
Origin(i)/Destination (j) D1 D2 D3 …. Dn Supply
(ai )
S1 (x11) (x12) (x13) …. (x1n) a1
C11 C12 C13 C1n
S2 (x21) (x22) (x23) …. (x2n) a2
C21 C 22 C23 C2n
S3 (x31) (x32) (x33) …. (x3n) a3
C31 C32 C33 C3n
….. ….. ….. ….. ….. …..
Example: A computer manufacturer company has production facilities at Delhi and Chennai
with 250 and 160 computers available for shipment every month respectively. Furthermore the
firm has warehouses in Kolkata, Pune and Patna with demand for 100, 150, and 160 units per
month respectively. The transportation costs per unit from each factory to each warehouse are
given below. Formulate the problem and find the basis feasible solution with the help of Least
Cost Method.
Factory/ Warehouse Kolkata Pune Patna
Delhi 25 10 20
Chennai 14 15 16
Now next minimum cost is 15 (Pune, Chennai), we due to exhaustion of particular demand side
we are unable to allocate, due to which we need to find next minimum cost and that is 16 (Patna,
Chennai). Therefore we need to allocate
We get,
Factory/ Warehouse Kolkata Pune Patna Supply
Delhi 25 10 (150) 20 250 100
Chennai 14 (100) 15 16 (60) 160 60
Demand 100 150 160 100 410/410
Hence total transportation cost = Rs. (10 x 150 +20 x 100 +14 x 100 +16 x 60)
= Rs. (1500 + 2000+ 1400 + 960)
= Rs. 5860
Example: Obtain an initial basic feasible solution to the following transportation problem by
North West Corner Method. Transportation costs from each source to various destinations are
given below:
Factory/ W1 W2 W3 W4 Supply
Warehouse
F1 20 15 25 15 15
F2 18 18 15 23 10
F3 32 28 18 43 12
Demand 10 3 9 15 37/37
Solution:
Since this is a balanced matrix i.e. supply is equal to demand, feasible solution exist.
: .Therefore, starting from north west corner, the first allocation is made at (F1, W1)
Factory/ W1 W2 W3 W4 Supply
Warehouse
F1 20 (10) 15 (3) 25 (2) 15 15 5 2
F2 18 18 15 (7) 23 (3) 10 7 3
F3 32 28 18 43(12) 12
Demand 10 3 9 7 15 12 37/37
Remarks:
1. A row or column difference indicates the minimum unit penalty incurred by failing to
make an allocation to the smallest cost cell in that row or column.
2. It will be seen that VAM determines an initial basic feasible solution which is very close
to the optimum solution that is the number of iterations required to reach optimum
solution is minimum in this case.
Let’s take an example to get more clarity:-
Example: Three fertilizers factories P, Q and R located at different places of the country produce
10, 4 and 15 lakh tones of fertilizers respectively. Under the directive of the central government,
they are to be distributed to 3 States A, B and C as 15, 5 and 9 lakh respectively. The
transportation cost per tones in rupees is given below:
A B C
P 11 17 16
Q 15 12 14
R 20 12 15
Find out suitable transportation pattern at minimum cost by Vogel’s Approximation Method.
Solution:
For each row and column of the transportation table determine the penalties and put them along
side of the transportation table by enclosing them in parenthesis against the respective rows and
beneath the corresponding columns.
A B C Supply P1
P 11 17 16 10 (11-16)= 5
Q 15 12 14 4 (12-14)= 2
R 20 12 15 15 (12-15)= 3
Demand 15 5 9
P1 (11-15)= 4 (12-12)=0 (14-15)=1
Identify the row or column with the largest penalty among all the rows and columns and allocate
the largest transportation amount to the smallest cost correspondence to row and column.
Therefore, we get
A B C Supply P1
P 11 (10) 17 16 10 5
Q 15 12 14 4 2
R 20 12 15 15 3
Demand 15 5 5 9
P1 4 0 1
Now, Re-compute the column and row penalty for the reduced transportation table and go to step
II. Repeat the procedure until all the requirements are satisfied.
This exhausts the capacity and demand and hence the whole allocation is as under:
A B C Supply P1 P2 P3 P4 P5
P 11 (10) 17 16 10 5 --- --- --- ---
Q 15 (4) 12 14 4 2 2 --- --- ---
R 20 (1) 12 (5) 15 (9) 15 5 3 3 3 3 12
Demand 15 5 1 5 9
P1 4 0 1
P2 5 0 1
P3 20 12 15
P4 ---- 12 15
P5 ---- 12 ----
Answer key:
1. Least cost 2. VAM 3. The rim conditions are satisfied 4. Vogel’s approximation
method
Steps1: Determine the initial basis solution with the help of any one of the method discussed
above.
Step 2: Find out the value of dual variables i.e., ui and vj (ui+vj= cij)
Step 3: Calculate the opportunity cost of all the unoccupied cell with Δij = cij - (ui + vj)
Step 4: a) If the opportunity cost of all the unoccupied cell are +ve or 0, the solution is optimal.
b) If the opportunity cost come negative for one or more unoccupied cell, the given
solution in not optimal and there is a chance of further saving in transportation cost.
Step 5: Choose the unoccupied cell that is having the smallest negative opportunity cost.
Step 6: Draw a closed path or loop for the unoccupied cell selected in step 5.Considering that the
right angle turn in this path is permitted only at occupied cells and at the original
unoccupied cell.
Step 7: Allocate alternate plus and minus signs at the unoccupied cells on the corner points of the
closed path with a plus sign at the cell being evaluated.
Step 8: Determine, in this unoccupied cell how much maximum number of units can be
transported. The smallest value with negative sign on the path shows the number of units
that can be shipped to the entering cell. Therefore, add this to all the cell with positive
(plus) sign, and deduct it from all the cells with minus (negative sign). After applying
this, an unoccupied cell becomes an occupied cell.
Step 9: Repeat the procedure till the time will get optimal solution.
Example: The following table gives company to market shipping cost in Rs…, quantities
available in tons at each factory and quantities required in tons at each destination. Find the
optimum transportation schedule and cost.
Factory Destination Supply
M1 M2 M3 M4
F1 21 7 25 30 8
F2 10 4 18 15 24
F3 8 16 11 12 28
Demand 12 12 16 20 60
Solution:
In order to apply optimal transportation solution we need to get initial basis solution and for that
we are using least cost method. Hence the allocations are as follows:
M1 M2 M3 M4 Supply
F1 21 7 25 30 8
F2 10 4 18 15 24 12
F3 8 (12) 16 11 12 28 16
Demand 12 12 16 20 8 60/60
M1 M2 M3 M4 Supply
F1 21 7 (€) 25 30 (8) 8
F2 10 (€) 4 (12) 18 15 (12) 24 12
F3 8 (12) 16 11 (16) 12 28 16
Demand 12 12 16 20 8 60/60
Factory/ M1 M2 M3 M4 M5 Supply
Warehouse
F1 13 11 15 20 12 8
F2 27 14 12 13 15 7
F3 18 18 15 12 14 12
Demand 6 4 5 4 8 27/27
Solution: For finding initial basic solution least cost matrix is applied
Factory/ M1 M2 M3 M4 M5 Supply
Warehouse
F1 13 11 (4) 15 20 12 (4) 8
F2 27 14 12 (5) 13 15 7
F3 18 (6) 18 15 12 (4) 14 (4) 12
Demand 6 4 5 4 8
Factory/ M1 M2 M3 M4 M5 ui
Warehouse
F1 13 11 (4) 15 20 12 (4) U1= 9
F2 27 14 12 (5) 13 (€) 15 U2= 12
F3 18 (6) 18 15 12 (4) 14 (4) U3=11
vj V1= 7 V2= 2 V3= 0 V4= 1 V5= 3
Here, there are three negative values. So need to make the loop from that unoccupied cell who is
having the smallest negative opportunity cost i.e. (1,1), with value -3. The modified
matrix is
Factory/ M1 M2 M3 M4 M5 ui
Warehouse
F1 (+) (-) U1= 9
13 * 11 (4) 15 20 12 (4)
F2 27 14 12 (5) 13 (€) 15 U2= 12
We get,
Factory/ M1 M2 M3 M4 M5
Warehous
e
F1 13 (4) 11 (4) 15 20 12
F2 27 14 12 (5) 13 (€) 15
F3 18 (2) 18 15 12 (4) 14 (8)
Example: Solve the following transportation problem in order to get initial basis solution. The
matrix is as follows:
Factory/ D1 D2 D3 D4 Supply
Warehouse
X1 30 15 25 10 50
X2 5 18 5 13 10
X3 15 20 8 22 20
Demand 10 30 19 15 74/80
Solution:
In the above question Demand of the destination is not equal to the supply of the factory.
Therefore we need to introduce a dummy having all the transportation cost equal to zero and
having the demand equal to (80-74)= 6 units.
Now in order to get the initial basic solution apply any of the method and for optimality apply
MODI as discussed.
6.8 Summary
Transportation problem help in minimizing the transportation cost while doing
physical distribution of the goods from its origin to its destination.
There are three different methods to find out the initial basic solution of any
transportation problem.
Two types of transportation problem are balanced and unbalanced.
To achieve the optimality MODI method is used, if m+n-1 = no of allocation the
problem is non-degenerate. And in case of degeneracy we need to remove the
problem of degeneracy by allocating € to the least cost cell.
In case of unbalanced transportation problem there is a need of converting it to
balanced by adding the dummy with zero cost.
In maximization matrix there is a need of converting the maximization to
minimizing matrix by subtracting the highest cost from rest off the cost.
Self Assessment Question:
1. Dummy source or dummy destination will occur in the case of__________________.
2. In a transportation problem, we must make the number of __________ and_______equal.
3. By north-‐west corner rule we always get a _________basic feasible solution.
Short Questions:
1. What is Transportation problem?
2. State different methods to obtain the initial basic feasible solution.
3. What are the properties of non-‐degenerate solution?
Answer:
1. Transporting the physical goods from its origin place to its final destination is called
transportation problem with the objective to minimize the shipping cost is called
transportation cost.
2. There are three basic methods for calculating initial basic solution they are least cost
method, North West corner method and Vogel’s approximation method.
3. Addition of number of rows and number of column minus 1 should be equal to the number
of allocation.
Long Question:
Solution: In order to get the initial basic solution as per the problem requirement VAM is
applied.
Factory/ X Y Z Supply P1 P2 P3 P4
Warehouse
A 2 (70) 7 (20) 4 (60) 150 90 20 2 2 5 7
B 3 6 (70) 7 70 3 3 3 6
C 5 4 1 (80) 80 3 -- -- --
Demand 70 90 70 140 60 300/300
P1 1 2 3
P2 1 1 3
P3 1 1 --
P4 --- 1 ---
Transportation cost = Rs. (2 x 70 + 7 x 20 + 4 x 60 + 6 x 70 + 1 x 80)
= Rs. 140 + 140 + 240 + 420 + 80)
= Rs. 1,020
Moving towards optimality, applying MODI
m + n-1 = number of allocation
3+ 3 -1 = 5, calculate the value of ui and vj
Factory/ X Y Z ui
Warehouse
A 2 (70) 7 (20) 4 (60) U1= 0
B 3 6 (70) 7 U2= -1
C 5 4 1 (80) U3= -3
Vj V1= 2 V2=7 V3=4