Professional Documents
Culture Documents
Transportation Method
TRANSPORTATION PROBLEM You have 3 Distribution Centres(DCs) (A, B and C), with
specified available stocks and need to deliver a product to
4 customers ( D, E, F and G), with specified demand
There are specific unit costs Between DCs and Customers
March 6, 2017
D2
A 10
E4
B 10
F 12
C 10
G 12
A 10 9 8 7 10
B 10 11 4 5 10
C 8 7 4 8 10
Demand
2 4 12 12
1
10-03-2017
Destination
Distribution Area ONE MORE PROBLEM
S 1 2 3 Supply
o 12 18 14
1 6
u 30 10 8
r Refinery 2 5
c 20 25 12
8
3
e
Demand 4 8 7
Destination Destination
WH1 WH2 Supply WH1 WH2 Supply
80 215 80 215
S Pune 1000 S Pune 1000
o 100 108
1300 o 100 108
1300
Lucknow Lucknow
u u
102 68 102 68
r Jamshedpur 1200 r Jamshedpur 1200
c Demand c 0 0
200
Dummy
e 2300 1400 e
Demand 2300 1400
2
10-03-2017
3
10-03-2017
i 1
x ij d j fo r j 1, , N
Xij is the quantity to be shipped from source i ( i =1,m)
to destination j (j=1,n), and is the decision variable. x ij 0 fo r a ll i , j
4
10-03-2017
4 6 8 11 2 2 10 9
REQUIRED 4 4 6 2 4 2
THE PROCEDURES ?
5
10-03-2017
6
10-03-2017
2 3 3 80 1 80 1 2 3 4 5 6 AVAILABLE
2
3 5 70 4 7 70 1 9 12 9 6 9 10 5
1 1 1 1 SOURCE
4 40 1 6 100 2 140 1 1 5 2 7 3 7 7 5 5 6
3 6 5 9 11 3 11 2
Dem- 70 90 180 340
and 4 6 8 11 2 2 10 9
1 1 1
1 2 2 REQUIRED 4 4 6 2 4 2
1 2
3 3
To 1 2 3 4 5 6 A P To 1 2 3 4 5 6 A P
F F
1 9 12 9 6 9 10 5 3 1 9 12 9 6 9 10 5(0) 3(0)
5
2 7 3 7 7 5 5 6 2 2 7 3 7 7 5 5 6(4) 2(4)
4 2 (0) (0)
3 6 5 9 11 3 11 2 2 3 6 5 9 11 3 11 2 (1) 2(1)
1 1 (0) (3)
4 6 8 11 2 2 10 9 0 4 6 8 11 2 2 10 9(7) 0(4)
3 2 4 (3) (2)(3)
(0)
R 4 4 6 2 4 2 R 4(1) 4(0) 6(5) 2(0) 4(0) 2(0)
(0) (0)
P 0 2 2 4 1 5 P 0 (3) 2 2(0) 4 1 5
7
10-03-2017
29
8
10-03-2017
EXAMPLE
EXAMPLE
DESTINATION
1 2 3 4 5 6 AVAILABLE
Consider the following example
SOURCE 1 9 12 9 6 9 10 5
2 7 3 7 7 5 5 6
3 6 5 9 11 3 11 2
4 6 8 11 2 2 10 9
REQUIRED 4 4 6 2 4 2
9 12 9 6 9 10 5
5
Consider the following feasible solution
7 3 7 7 5 5 6
3 1 2
6 5 9 11 3 11 2
1 1
6 8 11 2 2 10 9
3 2 4
4 4 6 2 4 2
9
10-03-2017
STEPS
1) Determine a set of (m+n) numbers
Uj = 1,2,m
Vi = 1,2,.n
Such that for each occupied cell (r,s)
TEST THE SOLUTION FOR OPTIMALITY Cr,s = Ur + Vs
Cr,s = cost associated with an allocation from
source r to destination s
2) Using these Uj and Vi , carryout the cell evaluation for each vacant cell (i,j)
by means of the formula :
di,j = Ci,j - (Uj + Vi)
3) Examine the matrix after the cell evaluations for negative entries.
> if no cell has negative di,j , the solution under test is optimal.
> if no cell has negative di,j, and also that there are zero cells, then
there are multiple optimal solutions.
> Ifthere
>If thereare
arecells
cellswith
withnegative
nonnegative
di,j thendi,j , then under
solution solution under
test is nottest is
optimal
not optimal.
DETERMINATION OF UJ , Vi?
START WITH ZERO IN THE MOST OCCUPIED ROW 6 5 * 2 2 7 DETERMINATION OF UJ , Vi FOR
(ONLY FOR CONVENIENCE ) VACANT CELLS?
4 * * 0 0 *
9 0 * * 9 2 2 7
* 5 9 * * 7
3 7 5 -2
* * 9 11 3 11
6 5 9 2 2 7 * 8 11 * * 10
6 5 * 2 2 7 0
4 * * 0 0 * -2
3 7 * 4 7 3
* * 9 2 2 7 3 * * 7 5 *
0
* * 0 9 1 4 GET d ij = Cij- ( Uj+Vi )
* 5 9 * * 7 0
* 3 2 * * 3
6 5 9 2 2 7
All dij ARE NON-NEGATIVE.
DETERMINATION OF Uj , Vi FOR VACANT CELLS? HENCE THE SOLUTION UNDER TEST IS OPTIMAL.
10
10-03-2017
From
1 4 1 5
2 3 3 6
3 2 2
4 1 2 4 2 9
Required 4 4 6 2 4 2
TOTAL COST=
4[9]+1[12]+3[3]+3[7]+2[9]+1[11]+2[2]+4[2]+2[10] = 139
STEPS
1) Determine a set of (m+n) numbers
Uj = 1,2,m
Vi = 1,2,.n
Such that for each occupied cell (r,s)
TEST THE SOLUTION FOR OPTIMALITY Cr,s = Ur + Vs
Cr,s = cost associated with an allocation from
source r to destination s
2) Using these Uj and Vi , carryout the cell evaluation for each vacant cell (i,j)
by means of the formula :
di,j = Ci,j - (Uj + Vi)
3) Examine the matrix after the cell evaluations for negative entries.
> if no cell has negative di,j , the solution under test is optimal.
> if no cell has negative di,j, and also that there are zero cells, then
there are multiple optimal solutions.
>
>IfIfthere
thereare
arecells
cellswith
withnegative
nonnegative
di,j thendi,j , then under
solution solution under
test is nottest is
optimal
not optimal.
11
10-03-2017
HOW TO IMPROVE IT ??
12
10-03-2017
2 20 3 60 3 1 80
3 5 30 4 40 7 70
4 1 6 140 2 140
13
10-03-2017
MODI
MODI
Finding Ui and Vj using Crs of
Opportunity Cost of all unused cells
Occupied Cells
Projects Availability Projects Availability
ui ui
Plant A B C Plant A B C
1 50 2 7 4 50 1 50 2 7 4 50
0 0
+5 -1
2 20 3 60 3 1 80 2 20 3 60 3 1 80
1 -5
1
3 5 30 4 40 7 70 3 5 30 4 40 7 70
2 2
+1
4 1 6 140 2 140 4 1 6 140 2 140
-3 -3
+2 +7
Demand 70 90 180 340 Demand 70 90 180 340
vj 2 2 5 vj 2 2 5
MODI
WHAT DO YOU OBSERVE ?
Improved solution (1)
Projects Availability
ui
Plant A B C
1 50 2 7 4 50
0
+5 -1
2 20 3 60 20 3 40 1 80
- + -5
1
3 5 30 70 4 40 7 70
2
+1 + -
4 1 6 140 2 140
-3
+2 +7
Demand 70 90 180 340
vj 2 2 5
14
10-03-2017
15
10-03-2017
4 2 6
DEGENERATE CONDITION
2 2
3 2 4 9
4 4 6 2 4 2
16
10-03-2017
17
10-03-2017
9
INDEPENDENT POSITIONS
12 9 6 9 10 5
NON INDEPENDENT POSITIONS
5
There is loop among the occupied cells
7 3 7 7 5 5 6
3 1 2 Start from one occupied cell and try to
6 5 9 11 3 11 2 reach the same cell by alternating
1 1
6 8 11 2 2 10 9
horizontal and vertical lines, through other
3 2 4 occupied cells
4 4 6 2 4 2 You can , without reversing the route or
violating the row / column constraints
NON-INDEPENDENT
POSITIONS
* 1 4 5
4 1 1 6
* *
1 1 2
* * *
3 1 2 3 9
* *
4 4 6 2 4 2
18
10-03-2017
4 2 6
2 2
3 2 4 9
4 4 6 2 4 2
e 4 2 6
2 2
3 2 4 9
4 4 6 2 4 2
19
10-03-2017
Degeneracy Degeneracy
When the number of used cells is more or If the used cells are less than m+n-1 it is
not possible to calculate all Ui and Vj
less than values.
Degeneracy During
Degeneracy Initial solution
operations
Projects Availability
Origins Destinations Supply
Plant A B C
A B C B ui
1 50 2 7 4 50
1 3 10 5 20 1 5 1 9 9 0
2 3 80 3 1 80 - + -18
2 2 10 34 8 1 30 4 3
-11 -13 + -
3 5 10 4 60 7 70
3 1 20 7 5 10 5 -17
+8 +17 +19
4 1 6 120 2 120
Demand 3 5 4 6 18
vj 10 20 5 27
Demand 50 90 180 320
Page 79
20