Professional Documents
Culture Documents
TRANSPORTATION PROBLEM
1/54
Introduction
2/54
Example 1
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
24 12 16 20 1
2 100
14 33 1 23 26
3 150
Require- 60 50 50 40 300
100
ment
3/54
Formulation
Capacity Constraints
x11 + x12 + x13 + x14 + x15 ≤ 50
x21 + x22 + x23 + x24 + x25 ≤ 100
x31 + x32 + x33 + x34 + x35 ≤ 150
Requirement Constraints
x11 + x21 + x31 ≥ 100
x12 + x22 + x32 ≥ 60
x13 + x23 + x33 ≥ 50 x11, x12, ……, x35 ≥ 0.
x14 + x24 + x34 ≥ 50
The problem has 8 constraints and 15
x15 + x25 + x35 ≥ 40 variables.
4/54
Pre-requisites for an LP
5/54
Transportation method
• The steps involved in transportation method
are:
Step 1: Determine a basic feasible solution,
using any one of the following three methods:
• North West Corner Method
• Least Cost Method
• Vogel Approximation Method
Step 2: Determine the optimal solution using
the MODI (Modified Distribution Method) or U-
V Method.
6/54
North west corner method
7/54
North west corner method
Cross out the row (column) with zero supply or
demand to indicate that no further assignments
can be made in that row (column).
If both the row and column becomes zero
simultaneously, cross out one of them only, and
leave a zero supply or demand in the uncrossed
out row (column).
If exactly one row (column) is left uncrossed out,
then stop. Otherwise, move to the cell to the right
if a column has just been crossed or the one
below if a row has been crossed out. Repeat step1
8/54
Example 1
9/54
Example 1
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100
50
14 33 1 23 26
3 150
10/54
Example 1
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100
50 50
14 33 1 23 26
3 150
11/54
Example 1
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 50
50 50
14 33 1 23 26
3 150
10
100 60 50 50 40 300
Require-ment 50 10
12/54
Example 1
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 50
50 50
14 33 1 23 26
3 150 140
10 50
100 60 50 50 40 300
Requirement 50 10
13/54
Example 1
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 50
50 50
14 33 1 23 26
3 150 140 90
10 50 50 40
100 60 50 50 40 300
Requirement 50 10
14/54
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 50
50 50
14 33 1 23 26
3 150 140 90
10 50 50 40
100 60 50 50 40 300
Requirement 50 10
Total cost =50*1+ 50*24+50*12+10*33+1*50+50*23 +40*26=
4420
15/54
Least cost method/ Matrix Minima
Method
• The steps involved are:
o Start by allocating as much as possible to
the cell with the smallest unit cost(least).
o If there are two or more minimum costs
then we should select the row and the
column corresponding to the lower
numbered row.
o If they appear in the same row we should
select the lower numbered column.
16/54
Least cost method
17/54
Example
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100
14 33 1 23 26
3 150
100 60 50 50 40 300
Requirement
18/54
Example (contd.)
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100
40
14 33 1 23 26
3 150
100
60 50 50 40 300
Requirement 50
19/54
Example (contd.)
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 60
40
14 33 1 23 26
3 150
50
100
60 50 50 40 300
Requirement 50
20/54
Example (contd.)
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 60
60 40
14 33 1 23 26
3 150 100
50
100
60 50 50 40 300
Require-ment 50
21/54
Example (contd.)
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 60
60 40
14 33 1 23 26
3 150 100
50 50
Require- 100
60 50 50 40 300
ment 50
22/54
Example (contd.)
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 60
60 40
14 33 1 23 26
3 150 100 50
50 50 50
100
60 50 50 40 300
Require-ment 50
23/54
Example (contd.)
Retail Agency
Factories Capacity
1 2 3 4 5
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100 60
60 40
14 33 1 23 26
3 150 100 50
50 50 50
Require- 100
60 50 50 40 300
ment 50
24/54
Example (contd.)
25/54
Vogel Approximation
Method (VAM)
• The steps involved in this method are:
o For each row (column) with positive capacity
(requirement), determine a penalty by
subtracting the smallest unit cost element in
the row (column) from the next smallest unit
cost element in the same row (column).
o Identify the row or column with the largest
penalty among all the rows and columns.
o If the penalties corresponding to two or more
rows or columns are equal we select the
topmost row and the extreme left column.
26/54
Example
Destination
Origin 1 2 3 4 ai
20 22 17 4
1 120
25 37 9 7
2 70
32 37 20 15
3 50
bj 60 40 30 110 240
27/54
Example (contd.)
Destination
Row
Origin 1 2 3 4 ai penalty
20 22 17 4
1 120 17-4 = 13
40
25 37 9 7
2 70
9-7=2
32 37 20 15
3 50
20-15 =5
bj 60 40 30 110 240
Column 25-20 =5 37-22 =15 17-9=8 7-4= 3
Penalty
28/54
Example (contd.)
Destination Colum
n
Origin 1 2 3 4 ai penalty
20 22 17 4 120 17-4 =
1 80
40 80 13
25 37 9 7
2 70
9-7=2
32 37 20 15 20-15
3 50
=5
bj 60 40 30 110 240
Row 25-20
X 17-9=8 7-4= 3
Penalty =5
29/54
Example (contd.)
Destination Colum
n
Origin 1 2 3 4 ai penalty
20 22 17 4 120
1 X
40 80 80
25 37 9 7
2 70
30 9-7=2
32 37 20 15 20-15
3 50
=5
bj 60 40 30 110 30 240
Row 32-25
X 20-9=11 15-7= 8
Penalty =7
30/54
Example (contd.)
Destination Colum
n
Origin 1 2 3 4 ai penalty
20 22 17 4 120
1 X
40 80 80
25 37 9 7 70 25-
2
30 30 40 7=18
32 37 20 15 32-15
3 50
=17
bj 60 40 30 110 30 240
Row 32-25
X X 15-7= 8
Penalty =7
31/54
Example (contd.)
Destination Colum
n
Origin 1 2 3 4 ai penalty
20 22 17 4 120
1 X
40 80 80
25 37 9 7 70 25-
2
30 30 40 7=18
32 37 20 15 32-15
3 50
=17
bj 60 40 30 110 30 240
Row 32-25
X X 15-7= 8
Penalty =7
32/54
Example (contd.)
Destination
Column
Origin 1 2 3 4 ai penalty
20 22 17 4 120
1 X
40 80 80
25 37 9 7 70 40
2
10 30 30 10 nil
32 37 20 15
3 50
nil
bj 60 40 30 110 30 240
Row 32-25
X X X
Penalty =7
33/54
Example (contd.)
Destination
Column
Origin 1 2 3 4 ai penalty
20 22 17 4 120
1 X
40 80 80
25 37 9 7 70 40
2
10 30 30 10 X
32 37 20 15
3 50
nil
bj 60 50 40 30 110 30 240
Row X X X X
Penalty
34/54
Example (contd.)
Destination
Column
Origin 1 2 3 4 ai penalty
20 22 17 4 120
1 X
40 80 80
25 37 9 7 70 40
2
10 30 30 10 X
32 37 20 15
3 50
50 X
bj 60 50 40 30 110 30 240
Row X X X X
Penalty
35/54
Example (contd.)
Since
Rim requirement =m+n-1 =3+4-1=6
Rim requirement = Stone square
6 = 6
The above solution is non-degenerate so
The transportation cost is:
Z = 22 * 40 + 4 * 80 + 10 *25 + 9 * 30
+ 7 * 30 + + 32 * 50 = 3530.
36/54
Step 2: Determine the optimal
solution
• MODI method or u-v method: Example
Retail Agency
Capacit
Factories 1 2 3 4 5
y
1 9 13 36 51
1 50
50
24 12 16 20 1
2 100
60 40
14 33 1 23 26
3 150
50 10 50 40
Requirement 100 70 50 40 40 300
37/54
Step 2: Determine the optimal
solution
From duality theory: Cij = ui + vj
C11 = u1 + v1 = 1
C22 = u2 + v2 = 12
C25 = u2 + v5 = 1 Here ui and vj are dual
C31 = u3 + v1 = 14 variable associated with
C32 = u3 + v2 = 33 row i and column j.
C33 = u3 + v3 = 1
C34 = u3 + v4 = 23
38/54
Step 2: Determine the optimal
solution
Retail Agency
Capac
Factories 1 2 3 4 5 ui
ity
1 9 13 36 51
1 50
50 -13
24 12 16 20 1
2 100
60 40 -21
14 33 1 23 26
3 150
50 10 50 40 0
Require
100 70 50 40 40 300
ment
vj 14 33 1 23 22
39/54
Step 2: Determine the optimal
solution
40/54
Step 2: Determine the optimal
solution
Computing cij – ui – vj for each non-empty cell
Cell(1,2)= c12-u1-v2 = 9+13-33 = -11
Cell(1,3)= c13-u1-v3 = 13+13-1 = 25
Cell(1,4)= c14-u1-v4 = 36+13-23 = 26
Cell(1,5)= c15-u1-v5 = 51+13-22 = 42
Cell(2,1)= c21-u2-v1 = 24+21-14 = 31
Cell(2,3)= c23-u2-v3 = 16+21-1 = 36
Cell(2,4)= c24-u2-v4 = 20+21-23 = 18
Cell(3,5)= c35-u3-v5 = 26-0-22 = 4
41/54
Step 2: Determine the optimal
solution
Retail Agency
Capaci
Factories 1 2 3 4 5 ty ui
- 1 + 9 13 36 51
1 50
50 -11 25 26 42 -13
+ 24 - 12 16 20 1
2 100
31 60 36 18 40 -21
14 33 1 23 26
3 150
50 10 50 40 4 0
Requireme 100 70 50 65 40 300
nt
vj 14 33 1 23 22
42/54
Step 2: Determine the optimal
solution
Following simple rules will help us
determine the closed loop path.
• There can be only one increasing and
one decreasing cell in any row or
column
• Except for the entering cell, all changes
must involve nonempty (basic) cells.
43/54
Step 2: Determine the optimal
solution
Retail Agency
Capaci
Factories 1 2 3 4 5 ty ui
- 1 + 9 13 36 51
1 50
40 10 -11 25 26 42 -13
+ 24 - 12 16 20 1
2 100
31 60 36 18 40 -21
14 33 1 23 26
3 150
60 0 50 40 4 0
Requireme 100 70 50 65 40 300
nt
vj 14 33 1 23 22
44/54
Step 2: Determine the optimal
solution
45/54
Unbalanced transportation
problem
Total supply is not equal to the total demand,
46/54
Example
Consider the following unbalanced
transportation problem given in Table
Warehouse
Plant W1 W2 W3 Supply
X 20 17 25 400
Y 10 10 20 500
Demand 400 400 500
47/54
Degenerate transportation
problem
48/54
Example
Consider the following degenerate
transportation problem given in Table
Warehouse
Plant W1 W2 W3 Supply
(aj)
X 20 17 25 400
Y 10 10 20 500
Unsatisfied 0 0 0 400
demand
Demand (bj) 400 400 500 1300
50/54
Transshipment problem
Depot
Plant X Y Z Supply
A 1 3 15 150
B 3 5 25 300
Demand 150 150 150 450
51/54
Transshipment problem
A B X Y Z Supply
A 0 55 1 3 15 150 + 450 =
600
B 2 0 3 5 25 300 + 450 =
750
X 3 15 0 25 2 450
Y 25 3 2 0 3 450
Z 45 55 55 3 0 450
Deman 450 450 150+450 150 + 150 +
d = 600 450 = 450 =
600 600
52/54
Limitations of transportation
problem
53/54
54/54