Definition Transportation Model
Definition Transportation Model
from several supply locations to several demand locations. Typically, the quantity of goods
available at each supply location (origin) is limited and the quantity of goods needed at each
several demand location (destinations) is known.
The usual objective in a transportation problem is to minimize the cost of shipping goods from
the origins to the destinations.
Sources Destination
C11:X11
A1 1 1 B1
Am m n Bn
Cmn:Xmn
There are m sources and n destinations, each represented by a node. The arc represents the routes
linking the sources and the destinations. Arc (I,j) joining sources I to destination J carries two
piece of information: The transportation cost per unit C ij and amount shipped Xij. The amount of
supply at source I is Ai and the amount of demand at destination J is Bj.
The objective of the model is to determine the unknowns X ij that will minimize the total
transportation cost while satisfying the supply and demand restrictions.
Matrix Terminology:
Simplex algorithm can be used solve linear programming model. But this algorithm is laborious.
For this reason, whenever possible we try to simplify calculations.
Transportation problems are expressed in matrix form. The matrix consists of squares called
“cells”, which when stacked form “columns” vertically and “rows” horizontally. The cell located
at the intersection of a row and column is designed by its row and column headings. Thus the
cell located at the intersection of row A and column B is called cell (A,B).Units costs are placed
in each cells.
Plan
Capacity(million liters)
t
1 6
2 1
3 10
Each day firm must fulfill the needs of its four distribution centers. Minimum requirements at
each center are as follows:
Distribution
Requirements (million liters)
Center
1 7
2 5
3 3
4 2
Cost of shipping one million liters of milk from each plant to each distribution center is given in
the following table in hundred TK.
Supply
Distribution Center
Plant
1 2 3 4
6
1 2 3 11 7
1
2 1 0 6 1
10
3 5 8 15 9
REQ 7 5 3 2
Supply
Distribution Center
Plant
1 2 3 4
6
1 2 3 11 7
1
2 1 0 6 1
10
3 5 8 15 9
REQ 7 5 3 2
Supply Diff
Distribution Center
Plant
1 2 3 4
6 (1)(1)(5)
1 2(1) 3(5) 11 7
1 (1)--
2 1 0 6 1(1)
10 (3)(3)(4)
3 5(6) 8 15(3) 9(1)
REQ 7 5 3 2
Distribution Center
Plant
1 2 3 4
1 2 3(5) 11(1) 7
2 1 0 6 1(1)
Total Cost:3*5+11*1+1*1+5*7+15*2+9*1=101
I(1,3)=+11-15+5-2=-1
I(1,4)=+7-9+5-2=+1
I(2,1)=+1-1+9-5=+4
I(2,2)=-3+2-5+9-1=+2
I(2,3)=+6-1+9-15=-1
I(3,2)=+8-3+2-5=+2
Second Step:
Distribution Center
Plant
1 2 3 4
1 2 3(5) 11(1) 7
2 1 0 6(1) 1
I(1,1)=+2-11+15-5=+1
I(1,4)=+1
I(2,1)=+4
I(2,2)=+1
I(2,3)=-1
I(3,2)=+1
Step#3
Distribution Center
Plant
1 2 3 4
1 2 3(5) 11(1) 7
2 1 0 6(1) 1
I(1,1)=
I(1,4)=
I(2,1)=
I(2,2)=
I(2,4)=
I(3,2)=
Distribution Center
Plant
1 2 3 4
Step#1
1 2 3(5) 11(1) 7
2 1 0 6 1(1)
“The number of occupied routes must always be equal to one less than the sum of the number of
rows plus the number of columns”
I(1,3)=+11-15+5-2=-1
I(1,4)=+7-9+5-2=+1
I(2,1)=+1-1+9-5=+4
I(2,2)=+2
I(2,3)=-1
I(3,2)=+8-3+2-5=+2
Distribution Center
Plant
Step#2
1 2 3 4
1 2 3(5) 11(1) 7
2 1 0 6(1) 1
I(1,4)=+7-9+15-11=+2
I(2,1)=+4
I(2,2)=+1
I(2,3)=-1
I(3,2)=+8-15+11-3=+1
Distribution Center
Plant
Step#3 1 2 3 4
1 2 3(5) 11(1) 7
2 1 0 6(1) 1
Distributio
n Center
Plant
V1 V2 V3 V4
1 2 3 4
U
1 2 3
1
U
2 1
2
U
3 5 15 9
3
Now,
U1+V1=2
U1+V2=3
U2+V4=1
U3+V1=5
U3+V3=15
U3+V4=9
Let,
V3=10
V4=4
Distributio
n Center
Plant
0 1 10 4
1 2 3 4
1 2 2 3
2 -3 1
3 5 5 15 9
Distributio
n Center
Plant
0 1 10 4
1 2 3 4
1 2 12 6
2 -3 -3 -2 7
3 5 6
Now we subtract the cell values of the matrix from the original cost matrix
Distributio
n Center
Plant
0 1 10 4
1 2 3 4
1 2 11-12=-1 7-6=1
3 5 8-6=2
Here from the above cell evaluation matrix we can see that two cells are with same
negative entry. So we choose the cell (1,3).
We trace a path in this matrix consisting of a series of horizontal and vertical lines.
Distribution Center
Plant
1 2 3 4
1 2(1) 3(5) 11 7
2 1 0 6 1(1)
Now we make a new allocation in the identified cell by entering the smallest
allocation on the path that has been assigned a (-) negative sign
Distribution Center
Plant
1 2 3 4
1 2 3(5) 11(1) 7
2 1 0 6 1(1)
=(3*5+11*1+1*1+5*7+15*2+9*1)=101
MODI method:
We first set up the cost matrix containing the cost associated with the cell for which allocations
have been made.
Here , m+n-1=3+4-1=6. We enter a set of numbers v j across the top of the matrix and a set of
numbers u j across the left side so that their sum equals the costs entered.
Distribution Center
Plant
v1 v2 v3 v4
u1 2 3
u2 1
u3 5 15 9
Now,
U1+V1=2
U1+V2=3
U2+V4=1
U3+V1=5
U3+V3=15
U3+V4=9
V2=1 U2=-3
V3= 10 U3=5
V4=4
0 1 10 4
2 2 3
-3 1
5 5 15 9
Now we fill up the vacant cells with the sum of Uj+Vj
0 1 10 4
2 12 6
-3 -3 -2 7
5 6
Now we subtract the cells values of the matrix from the original cost matrix
0 1 10 4
2 11-12=-1 7-6=1
5 8-6=2
Here from the above cell evolution matrix we can see that cells are same negative entry. So we
choose the cell (1,3).We trace a path in this matrix consisting of a series of alternative horizontal
and vertical lines.
Distribution Center
Plant
1 2 3 4
1 2(1) 3(5) 11 7
2 1 0 6 1(1)
Now we make a new allocation in the identified cell by entering the smallest allocation on the
path that has been assigned a negative sign
Distribution Center
Plant
1 2 3 4
1 2 3(5) 11(1) 7
2 1 0 6 1(1)