Transportation Problem
Transportation Problem
Transportation Problem
Introduction
Transportation problem is a special problem of its own
structure.
Planning model that allocates resources, machines,
materials, capital etc. in a best possible way
In these problems main objective generally is to minimize
the cost of transportation or maximize the benefit.
Let us structure a basic transportation problem and then
demonstrate the formulation and solution with a numerical
example
Structure of the Problem
c ij x ij
Minimize (1)
f
i 1 j 1
Generally, in transportation problems, the amount of
commodity available in a particular source should be
equal to the amount of commodity supplied from that
source. Thus, the constraint can be expressed as
n
x
j 1
ij ai
i= 1, 2, …, m (2)
Structure of the Problem …contd.
Total amount supplied to a particular sink should be equal to the
corresponding demand
m
x
i 1
ij bj j= 1, 2, …, n (3)
The set of constraints given by eqns (2) and (3) are consistent only if
m n
total supply and total demand are equal
ai b j
i 1 j 1
i= 1, 2, …, m , j= 1 ,2, …, n (4)
x ij 4 i= 1 ,2
j 1
x
i 1
ij bj; j 1, 2, 3
DEMAND 65 85 80 70 20
Example (2) …contd.
Objective function is to minimize the total cost of
transportation from all combinations
Minimize f = 523 x11 + 682 x12 + 458 x13 + 850 x14 + 0 x15
+ 420 x21 + 412 x22 + 362 x23 + 729 x24 + 0 x25 + 670 x31
+ 558 x32 + 895 x33 +695 x34 + 0 x35
subject to the constraints
x11 + x12 + x13 + x14 + x15 = 60 for i = 1
x21 + x22 +x23 + x24 +x25 = 110 for i = 2
x31 + x32 + x33 + x34 + x35= 150 for i = 3
Example (2) …contd.
x
j 1
ij ai i= 1, 2, …, m (2)
Structure of the Problem …contd.
Total amount supplied to a particular sink should be equal to the
corresponding demand
m
x
i 1
ij bj j= 1, 2, …, n (3)
The set of constraints given by eqns (2) and (3) are consistent
m n
only if total supply and total demand are equal
i 1
ai b j
j 1
i= 1, 2, …, m , j= 1 ,2, …, n (4)
Plants
(origins)
ci1 ci2 cij cin
i ai
s
am
m
I 21 16 25 13 11
Sources II 17 18 14 23 13 Availability
III 33 27 18 41 19
Requirements 6 10 12 15 43
Solution
Transportation table
Here the total availability and the total requirement being
the same i.e. 43,the problem is balanced.
Find the initial basic feasible solution
Following the Vogel’s approximation Method, the
differences between the smallest and next to the smallest
costs in each row and each column are computed and
displayed within brackets against the respective rows and
columns.
The largest of these differences is 10 which is associated
with the fourth column.
Table 1
11
21 16 25 13 11 (3)
17 18 14 23 13 (3)
32 27 18 41 19 (9)
6 10 12 15
23
19 (9)
32 27 18
41
6 10 12 4
For the 4th column the requirement become 4 instead of 15 because
(15) (9) (4) (18)
requirement of 11 units are satisfied.
The row and column differences are now computed for reduced table 2
Table 3
6
9 (3)
17 18 14
19 (9)
32 27 18
6 10 12
(15) (9) (4)
The largest difference is (18) which is against the 4th column. Since 23 is the minimum
cost , we allocate x24 = min(13, 4) =4
Thus, availability of the 2nd row become 13-4 =9 in the 3rd table.
Thus, we cross 4th column and we get 3rd table, proceeding in this way finally
we get initial basic feasible solution in the 6 th table.
Table 4 Table 5
3
3 (4) 7 12
18 14 27 18 19
7 12
27 18 19 (9)
10 12
(9) (4)
Table 6
11
21 16 25 13
6 3 4
17 18 14 23
7 12
32 27 18 41
Apply optimality check
As the number of allocations = m + n-1 =6 we can apply
Modified distribution method
Table 7
vj 17 18 9 23
ui
(-) (-) (-)
11
-10 21 16 25 13
(-)
6 3 4
0 17 18 14 23
(-) 7 12 (-)
9 32 27 18 41
1 2 3 4
1 2 3 11 7
Factories 2 1 0 6 1
3 5 8 15 9
1 2 3 4 Supply
1 2 3 11 7 6
Factories 2 1 0 6 1 1
3 5 8 15 9 10
Demand 7 5 3 2 17
Find the initial basic feasible solution
Using VAM, the initial basic feasible solution is as shown
in table 2.The transportation cost according to this cost is
Z= Rs.(1 2 + 5 3 + 1 1 + 6 5 + 3 15 +1 9) times 100
= Rs.10,200
Table 2
1 5 6
2 3 11 7
1 1
1 0 6 1
6 3 1 10
5 8 15 9
7 5 3 2
Table 3
vj 2 3 12 6
ui
0 1 5 (+) (-)
2 3 11 7
3 6 (-) 3 1
5 8 15 9
1 5 (+) (-)
2 3 11 7
6 (-) 3 -Θ 1 Θ
5 8 15 9
First iteration: Choose the unoccupied cell with the maximum
wij. In case of a tie, Select the one with lower original cost.
In table 3 cells (1,3) and (2,3) each have wij = 1 and out of
these two cell (2,3) has lower minimum cost 6, there fore we
take this as the next basic cell and note Θ in it.
Draw a closed path beginning and ending at Θ cell.
Add and subtract Θ, alternatively to and from all closed path
cells (transition cells) of the loop subject to rim requirements.
Assign a maximum value to Θ so that one basic variable
becomes zero and the other basic variables remains ≥ 0
Now the basic cell whose allocation has been reduced to zero
leaves the basis.
This gives the second basic feasible solution. (Table -5)
1 5
2 3 11 7
Θ =1 1-1
1 0 6 1
6 3-1 1+1
5 8 15 9
Total transportation cost of this revised solution
= Rs.(1 2 + 5 3 + 1 6 + 6 5 + 2 15 +2 9) times
100
= Rs.10,100
Optimality check:
As the number of allocation in table 5 = m + n-1 = 6 we
can apply modified distribution method.
Compute the net evaluation which are as shown in
table 6.
Table 6
vj 2 3 12 6
ui
0 1 5 (+) (-)
2 3 11 7
-6 (-) (-) (-)
1
1 0 6 1
3 (-)
6 5 8 2 15 2 9
1-1 5 Θ =1
2 3 11 7
1
1 0 6 1
6 +1 2-1 2
5 8 15 9
5 1
2 3 11 7
1
1 0 6 1
7 1 2
5 8 15 9
Optimality check
As the number of allocation in table 5 = m + n-1 = 6 we
can apply modified distribution method.
Compute the net evaluation which are as shown in table 9.
Table 9
vj 1 3 11 5
ui
0 (-) 5 1 (-)
2 3 11 7
-5 (-) (-) 1 (-)
1 0 6 1
4 (-)
7 5 8 1 15 2 9
Since all the net evaluations are ≤ 0, this basic feasible solution is
optimal.
Total transportation cost of this revised solution
= Rs.( 5 3 + 1 11 + 1 6 + 7 5 + 1 15 +2 9) times 100
= Rs.10,000
THANK YOU