Transportation Model
Transportation Model
Transportation Model
3.1. INTRODUCTION
In operations Research Linear programming is one of the model in mathematical programming, which is
very broad and vast. Mathematical programming includes many more optimization models known as Non -
linear Programming, Stochastic programming, Integer Programming and Dynamic Programming
- each one of them is an efficient optimization technique to solve the problem with a specific structure,
which depends on the assumptions made in formulating the model. We can remember that the general linear
programming model is based on the assumptions:
(a) Certainty
The resources available and the requirement of resources by competing candidates, the profit
coefficients of each variable are assumed to remain unchanged and they are certain in nature.
(b) Linearity
The objective function and structural constraints are assumed to be linear.
(c) Divisibility
All variables are assumed to be continuous; hence they can assume integer or fractional values.
(e) Non-negativity
A non-negativity constraint exists in the problem, so that the values of all variables are to be ³ 0,
i.e. the lower limit is zero and the upper limit may be any positive number.
For the data given above, the mathematical model will be:
Minimize Z = c11 x11 + c12 x12 + c13 x13 + c14 x14 + c21 x21 + c22 x22 + c23 x23 + c24 x24 +
c31 x31 + c32 x32 + c33 x33 + c34 x34 subject to a condition: OBJECTIVE FUNCTION.
a11 x11 +a12 x12 + a13 x13 + a14 x14 £ b1 (because the sum must be less than or equal to the
available capacity)
+ a23 x23 + a24 x24 £ b2
a31 x31 + a32 x32 + a33 x33 + a34 x34 £ b3 MIXED STRUCTURAL CONSTRAINTS.
Minimize Z = å åc ij x j
j =1 i =1
s.t. where i = 1 to m and j = 1 to n.
åa
j =1
ij x ji ³ d j
where i = 1 to m and j = 1 to n
3.3. COMPARISON BETWEEN TRANSPORTATION MODEL AND GENERAL LINEAR
PROGRAMMING MODEL
Similarities
1. Both have objective function.
2. Both have linear objective function.
3. Both have non - negativity constraints.
4. Both can be solved by simplex method. In transportation model it is laborious.
5. A general linear programming problem can be reduced to a transportation problem if (a) the aij's
(coefficients of the structural variables in the constraints) are restricted to the values 0 and/or 1
and (b) There exists homogeneity of units among the constraints.
Differences
1. Transportation model is basically a minimization model; where as general linear programming
model may be of maximization type or minimization type.
2. The resources, for which, the structural constraints are built up is homogeneous in
transportation model; where as in general linear programming model they are different. That is
one of the constraint may relate to machine hours and next one may relate to man-hours etc. In
transportation problem, all the constraints are related to one particular resource or commodity,
which is manufactured by the factories and demanded by the market points.
3. The transportation problem is solved by transportation algorithm; where as the general linear
programming problem is solved by simplex method.
4. The values of structural coefficients (i.e. xij) are not restricted to any value in general linear
programming model, where as it is restricted to values either 0 or 1 in transportation problem. Say
for example:
Let one of the constraints in general linear programming model is: 2x –3y +10z £ 20. Here the
coefficients of structural variables x, y and z may negative numbers or positive numbers of zeros.
Where as in transportation model, say for example x11 + x12 + x13 + x14 = bi = 20. Suppose the
value of variables x11, and x14 are 10 each, then 10 + 0. x12 + 0. x13 + 10 = 20. Hence the
coefficients of x11 and x14 are 1 and that of x12 and x13 are zero.
A 4 3 2 10
B 5 6 1 8
C 6 4 3 5
D 3 5 4 6
For cell AX the availability constraint is 10 and the requirement constraint is 7. Hence 7 is smaller than
10, allocate 7 to cell AX. Next 10 – 7 = 3, this is allocated to cell AY to satisfy availability requirement.
Proceed in the same way to complete the allocations. Then count the allocations, if it is equals to m + n – 1,
then the solution is basic feasible solution. The solution, we got have 7 allocations which is = 4 + 4 – 1 = 7.
Hence the solution is basic feasible solution.
Now allocations are:
From To Units in tons Cost in Rs.
A X 7 7 × 4 = 28
A Y 3 3 × 3 = 09
B Y 8 8 × 6 = 48
C Y 1 1 × 4 = 04
C Z 4 4 × 3 = 12
D Z 1 1 × 4 = 04
D DUMMY 5 5 × 0 = 00
3.4.4. Solution by Least cost cell (or inspection) Method: (Matrix Minimum method)
(i) Identify the lowest cost cell in the given matrix. In this particular example it is = 0. Four cells of
dummy column are having zero. When more than one cell has the same cost, then both the cells are
competing for allocation. This situation in transportation problem is known as tie. To break the tie, select
any one cell of your choice for allocation. Make allocations to this cell either to satisfy availability
constraint or requirement constraint. Once one of these is satisfied, then mark crosses (×) in all the cells in
the row or column which ever has completely allocated. Next search for lowest cost cell. In the given
problem it is cell BZ which is having cost of Re.1/- Make allocations for this cell in similar manner and
mark crosses to the cells in row or column which has allocated completely. Proceed this way until all
allocations are made. Then write allocations and find the cost of transportation. As the total number of
allocations are 7 which is equals to 4 + 4 – 1 = 7, the solution is basic feasible solution.
(Note: The numbers under and side of rim requirements shows the sequence of allocation and the units
remaining after allocation)
Allocations are:
A Y 8 8 × 3 = 24
A Z 2 2 × 2 = 04
B Z 3 3 × 1 = 03
B DUMMY 5 5 × 0 = 00
C X 1 1 × 6 = 06
C Y 4 4 × 4 = 16
D X 6 6 × 3 = 18
Total in Rs. 71
A X 3 3 × 4 = 12
A Y 7 7 × 3 = 21
B X 3 3 × 5 = 15
B Z 5 5 × 1 = 05
C Y 5 5 × 4 = 20
D X 1 1 × 3 = 03
D DUMMY 5 5 × 0 = 00
Total Rs. 76
Now let us compare the three methods of getting basic feasible solution:
Inspection or least cost cell
North – west corner method. Vogel’s Approximation Method.
method
1. The allocation is made The allocations are made The allocations are made
from the left hand side top depending on the cost of the depending on the opportunity
corner irrespective of the cost cell. Lowest cost is first cost of the cell.
of the cell. selected and then next highest
etc.
2. As no consideration is As the cost of the cell is As the allocations are made
given to the cost of the cell, considered while making depending on the opportunity
naturally the total allocations, the total cost of cost of the cell, the basic feasible
transportation cost will be transportation will be solution obtained will be very
higher than the other comparatively less. nearer to optimal solution.
methods.
3. It takes less time. This The basic feasible solution, we It takes more time for getting
method is suitable to get get will be very nearer to basic Feasible solution. But the
basic feasible solution optimal solution. It takes more solution we get will be very
quickly. time than northwest coroner nearer to Optimal solution.
method.
4. When basic feasible When optimal solution is VAM and MODI is the best
solution alone is asked, it is asked, better to go for option to get optimal solution.
better to go for northwest inspection method for basic
corner method. feasible solution and MODI for
optimal solution.
In the problem given, the total cost of transportation for Northwest corner method is Rs. 101/-. The
total cost of transportation for Inspection method is Rs. 71/- and that of VAM is Rs. 76/-. The total cost got
by inspection method appears to be less. That of Northwest coroner method is highest. The cost got by
VAM is in between.
Now let us discuss the method of getting optimal solution or methods of giving optimality test for
basic feasible solution.
1. AZ +AZ – AX + BX – BZ +2 – 4 + 5 – 1 = + 2 –2
2 A Dummy + A DUMMY – AX + BX – B DUMMY +0 – 4 + 3 – 0 = – 1 +1
3 BY + BY – AY + AX – BX +6 – 3 + 4 – 5 = +2 -2
4 B DUMMY + B DUMMY – BX + DX – D DUMMY +0 – 5 +3 – 0 = –2 +2
5 CX +CX – CY + AX – AY 6 – 4 + 3 – 4 = +1 –1
6 CZ +CZ – BZ + BX –AX + AY – CY +2 –1 +5 – 4 +5 – 4 =+1 –1
7 C DUMMY + C DUMMY – D DUMMY + DX – + 0 – 0 +3 – 4 +3 – 4 = +2
AX + AY – CY –2
8 DY +DY – DX + AX – AY +5 – 3 +4 – 3 = +3 –3
9 DZ +DZ – DX +BX – BZ +4 – 3 + 5 – 1 = +5 –5
In the table 1 cells A DUMMY, B DUMMY, C DUMMY are the cells which are having positive
opportunity cost. Between these two cells B DUMMY and C DUMMY are the cells, which are having
higher opportunity cost i.e Rs. 2/ - each. Let us select any one of them to include in the improvement of the
present programme. Let us select C DUMMY.
Table II.
9 DZ + DZ – DX + BX – BZ + 4 – 3 +5 – 1 = + 5 –5
Cells A DUMMY and B DUMMY are having positive opportunity costs. The cell B DUMMY is
having higher opportunity cost. Hence let us include this cell in the next programme to improve the solution.
Table III.
1 AX +AX – AY + CY – C DUMMY + +4 – 3 + 4 – 0 + 0 – 5 = 0 0
B DUMMY – BX
2 AZ + AZ – BZ + B DUMMY – C DUMMY +2 –1 + 0 – 0 + 4 – 3 =+ 2 –2
+ CX – AX
3 A DUMMY + A DUMMY – C DUMMY + CY – AY +0 – 0 + 4 – 3 = +1 –1
4 BY + BY – B DUMMY + C DUMMY – CY +6 – 0 + 0 – 4 = + 2 –2
5 CX + CX – BX + B DUMMY – C DUMMY +6 – 5 + 0 – 0 = +1 –1
6 CZ + CZ – BZ + B DUMMY – C DUMMY +2 – 1 + 0 – 0 = +1 –1
7 DY +DY – CY + C DUMMY – B DUMMY +5 – 4 + 0 – 0 + 5 – 3 = +3 –3
+ BX – DX
8 DZ + DZ – BZ + BX – DX +4 – 1 + 5 – 3 = +5 –5
1 AY 10 10 × 3 = 30
2 BX 01 01 × 5 = 05
3 BZ 05 05 × 1 = 05
4 B DUMMY 02 02 × 0 = 00
5 CY 02 02 × 4 = 08
6 C DUMMY 03 03 × 0 = 00
7 DX 06 06 × 3 = 18
Total in Rs. 66
Optimal allocation.
Now let us take the basic feasible solution obtained by VAM method and apply MODI method of
optimality test.
Basic feasible solution got by VAM method.
The cell C DUMMY is having a positive opportunity cost. Hence we have to include this cell in the
programme. The solution has m + n – 1 allocations.
The cell B DUMMY is having a positive opportunity cost. Thïs is to be included in the modified
programme.
As the opportunity cost of all empty cells are negative, the solution is optimal. The solution has m
+ n – 1 allocations. The
allocations are:
S.No Loaded Cell Load Cost in Rs.
1 AY 10 10 × 3 = 30
2. BX 01 01 × 5 = 05
3. BZ 05 05 × 1 = 05
4. B DUMMY 02 02 × 0 = 00
5. CY 02 02 × 4 = 08
6. C DUMMY 03 03 × 0 = 00
7. CX 06 06 × 3 = 18
Total Cost in Rs. 66
Readers can verify the optimal solution got by Stepping stone method and the MODI method they are
same. And they can also verify the opportunity costs of empty cells they are also same. This is the
advantage of using MODI method to give optimality test. Hence the combination of VAM and MODI can
be conveniently used to solve the transportation problem when optimal solution is asked.
By principle, we know that the opportunity cost of a loaded cell or a problem variable is always equals
to zero. In case any empty cell of the optimal solution of a transportation problem got zero as the
opportunity cost, it should be understood that it is equivalent to a loaded cell. Hence by including that cell,
we can derive another solution, which will have same total opportunity cost, but different allocations. Once
one alternate solution exists, we can write any number of alternate solutions. The methodology is:
1. Let the Optimal solution is matrix A with one or more empty cells having zero as the opportunity
cost.
2. By including the cell having zero as the opportunity cost, derive one more optimal solution, let it
be the matrix B.
3. The new matrix C is obtained by the formula: C = d A + (1– d) B, where 'd' is a positive
fraction less than 1.
It is better to take always d = 1/2, so that C = 1/2 A + 1/2 B.
Now we shall take the optimal solution of the problem above and write the alternate optimal
solutions.
Matrix A (First optimal Solution).
The cell AX, having zero opportunity cost is included in revised solution. The loop is:
+ AX – BX + B DUMMY – C DUMMY + CY – AY = + 4 – 5 + 0 – 0 + 4 – 3 = 0
Allocation:
The total cost is 0.5 × 4 + 9.5 ×3 + 0.5 × 5 + 5 × 1 + 2.5 × 0 + 2.5 × 0 + 2.5 × 0 + 6 × 3 = Rs.
66/-
Once we get one alternate solution we can go on writing any number of alternate solutions until we
get the first optimal solution.