The transportation problem represents a particular type of linear programming problem used for allocating resources in an optimal way; it is a highly useful tool for managers and supply chain engineers for optimizing costs.
For clearly understand you can watch this video on my youtube channel
https://www.youtube.com/watch?v=5Ssnew58Yfc&t=2s
āOh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
Ā
Transportation problem
1. Faculty of Economics and Business Administration
Lebanese University
Chapter 4: Transportation problem
Dr. Kamel ATTAR
attar.kamel@gmail.com
! 2020 !
2. 1
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
1 Deļ¬nition and basic notation
2 Transportation Model
Balanced transportation problem
Un-balanced transportation problem
3 Methods for obtaining initial feasible basic solution
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
4 Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
3. 2
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Deļ¬nition
The transportation problem is a special type of linear programming problem where the objective
consists in minimizing transportation cost of a given commodity from a number of sources or
origins to a number of destinations.
In the transportation problem, we have
ā¢ m sources (warehouses, factories) producing
items, and
ā¢ n destinations (shops, businesses) requiring these
items.
The items need to be transported from sources to desti-
nations which has associated cost.
ā¢ The i-th source denotes by ai has available items
to transfer, and
ā¢ The j-th destination denotes by bj has demands
items to be delivered.
It costs cij to deliver one item from i-th source to j-th
destination.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
4. 3
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Assumption: destinations do not care from which source the items come, and sources do not care
to which destinations they deliver.
Decision variables: xij = the number of items transported from the i-th source to j-th destination.
Objective: The goal is to minimize the total cost of transportation.
Minimize
m
i=1
n
j=1
cij xij
Subject to
ļ£±
ļ£“ļ£“ļ£“ļ£“ļ£²
ļ£“ļ£“ļ£“ļ£“ļ£³
n
j=1
xij = ui for i = 1, Ā· Ā· Ā· , m
m
i=1
xij = vi for j = 1, Ā· Ā· Ā· , n
with xij ā„ 0 for i = 1, Ā· Ā· Ā· , m and j = 1, Ā· Ā· Ā· , n
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
5. 4
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
TABLE
b1 b2 b3 Supply
a1
c11
x11
c12
x12
c13
x13 u1
a2
c21
x21
c22
x22
c23
x23 u2
a3
c31
x31
c32
x32
c33
x33 u3
Demand v1 v2 v3 z =?
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
6. 5
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Balanced transportation problem
Un-balanced transportation problem
# Transportation Model #
There are two different types of transportation problems based on the initial
given information balanced and un-balanced transportation problems.
# Balanced transportation problems #
Cases where the total supply is equal to the total amount demanded.
Factory Transportation Supply
X Y
A 6 8 24
B 4 3 40
Demand 40 24
64
64
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
7. 6
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Balanced transportation problem
Un-balanced transportation problem
# Un-balanced transportation problems #
Cases where the total supply is less than or greater than to the total amount demanded.
ā¢ When the supply or availability is higher than the demand, a dummy destination is introduced in
the equation to make it equal to the supply (with shipping costs of 0$); the excess supply is
assumed to go to inventory.
Factory Transportation Supply
X Y
A 6 8 20
B 4 3 50
Demand 30 60
90
70
=ā
Factory Transportation Supply
X Y
A 6 8 20
B 4 3 50
dummy 0 0 20
Demand 30 60
90
90
ā¢ On the other hand, when the demand is higher than the supply, a dummy source is introduced
in the equation to make it equal to the demand (in these cases there is usually a penalty cost
associated for not fulļ¬lling the demand).
Factory Transportation Supply
X Y
A 6 8 30
B 4 3 60
Demand 20 50
70
90
=ā
Factory Transportation Supply
X Y dummy
A 6 8 0 30
B 4 3 0 60
Demand 20 50 20
90
90
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
8. 7
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
# Methods for obtaining initial feasible basic solution #
To ļ¬nd the optimal solution we use two steps.
ā¢ First we need to ļ¬nd the initial basic feasible solution by using one of the
following three methods
North-west corner , Least cost entry or Vogelās Approximation Method
ā¢ Then we obtain an optimal solution by making successive improvements in
the initial basic feasible solution until no further decrease in transportation
cost is possible. We can use on of the following two methods:
Stepping Stone or Modiļ¬ed Distribution Method
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
9. 8
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
# North-West Corner Method #
This method is the most systematic and easiest method for obtaining initial basic feasible solution.
To understand this method more clearly, let us take an example and discuss the rationale of
transportation problem.
Example
Transportation Availability in tons
(Cost per ton in $)
Factory W X Y sugar
A 4 16 8 72
B 8 24 16 102
C 8 16 24 41
Demand in Tons 56 82 77 215
Stepā This problem is balanced since
m
i=1
ui
total supply
=
n
i=1
vi
total demand
= 215. If the problem is not
balanced, then we open a dummy column or row as the case may be and balance the problem.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
10. 9
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
StepĘ Construct an empty m Ć n matrix, completed with rows & columns.
Stepā Indicate the rows and column totals at the end.
W X Y Quantity Supplied
A
4 16 8
72
B
8 24 16
102
C
8 16 24
41
Demand 56 82 77 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
11. 9
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā¦ Starting with the ļ¬rst cell at the north west corner of the matrix :
ā¢ If u1 < v1 , then set x11 = u1 , remove the ļ¬rst row, and decrease v1 to v1 ā u1.
ā¢ If u1 > v1 , then set x11 = v1, remove the ļ¬rst column, and decrease u1 to u1 ā v1.
W X Y Quantity Supplied
A
4
56
16 8
72 16
B
8
ā
24 16
102
C
8
ā
16 24
41
Demand 56 0 82 77 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
12. 9
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat:
ā¢ If ui < vj , then set xij = ui , remove the i-th row, and decrease vj to vj ā ui .
ā¢ If ui > vj , then set xij = vj , remove the j-th column, and decrease ui to ui ā vj .
W X Y Quantity Supplied
A
4
56
16
16
8
ā 72 16 0
B
8
ā
24 16
102
C
8
ā
16 24
41
Demand 56 0 8266 77 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
13. 9
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat:
ā¢ If ui < vj , then set xij = ui , remove the i-th row, and decrease vj to vj ā ui .
ā¢ If ui > vj , then set xij = vj , remove the j-th column, and decrease ui to ui ā vj .
W X Y Quantity Supplied
A
4
56
16
16
8
ā 72 16 0
B
8
ā
24
66
16
102 36
C
8
ā
16
ā
24
41
Demand 56 0 8266 0 77 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
14. 9
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat:
ā¢ If ui < vj , then set xij = ui , remove the i-th row, and decrease vj to vj ā ui .
ā¢ If ui > vj , then set xij = vj , remove the j-th column, and decrease ui to ui ā vj .
W X Y Quantity Supplied
A
4
56
16
16
8
ā 72 16 0
B
8
ā
24
66
16
36 102 36 0
C
8
ā
16
ā
24
41
Demand 56 0 8266 0 77 41 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
15. 9
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā” Once all the allocations are over, i.e., both rim requirement (column and row i.e., availability
and requirement constraints) are satisļ¬ed, write allocations and calculate the cost of transportation.
W X Y Quantity Supplied
A
4
56
16
16
8
ā 72 16 0
B
8
ā
24
66
16
36 102 36 0
C
8
ā
16
ā
24
41 41 0
Demand 56 0 8266 0 77 41 0 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
16. 10
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā” Once all the allocations are over, i.e., both rim requirement (column and row i.e., availability
and requirement constraints) are satisļ¬ed, write allocations and calculate the cost of transportation
Rim Requirements
Stone squares must be equal to the nb. of columns+nb. of rowsā1. In this
table we have
3columns + 3rows ā 1 = 6 ā 1 = 5Stones
Transportation cost
From To Units in tons Cost in $
A W 56 56 Ć 4 = 224
A X 16 16 Ć 16 = 256
B X 66 66 Ć 24 = 1584
B Y 36 36 Ć 16 = 576
C Y 41 41 Ć 24 = 984
Total 3624
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
17. 11
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
# Least Cost entry Method #
This method takes into consideration the lowest cost and therefore takes less time to solve problem.
To understand this method more clearly, let us resolve the previous example.
Example
Transportation Availability in tons
(Cost per ton in $)
Factory W X Y sugar
A 4 16 8 72
B 8 24 16 102
C 8 16 24 41
Demand in Tons 56 82 77 215
Stepā This problem is balanced since
m
i=1
ui
total supply
=
n
i=1
vi
total demand
= 215.
If the problem is not balanced, then we open a dummy column or dummy row as the case may be
and balance the problem.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
18. 12
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
StepĘ Construct an empty m Ć n matrix, completed with rows & columns.
Stepā Indicate the rows and column totals at the end.
W X Y Quantity Supplied
A
4 16 8
72
B
8 24 16
102
C
8 16 24
41
Demand 56 82 77 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
19. 12
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā¦ Select the cell with the lowest transportation cost cij among all the rows and columns of the
transportation table. If the minimum cost is not unique then select arbitrarily any cell with the lowest
cost. Then allocate as many units as possible to the cell determined and eliminate that row in which
either capacity or requirement is exhausted.
W X Y Quantity Supplied
A
4
56
16 8
72 16
B
8
ā
24 16
102
C
8
ā
16 24
41
Demand 56 0 82 77 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
20. 12
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat the stepsā¦ for the reduced table until the entire capacities are exhausted to ļ¬ll the
requirements at the different destination.
W X Y Quantity Supplied
A
4
56
16
ā
8
16 72 16 0
B
8
ā
24 16
102
C
8
ā
16 24
41
Demand 56 0 82 77 61 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
21. 12
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat the stepsā¦ for the reduced table until the entire capacities are exhausted to ļ¬ll the
requirements at the different destination.
W X Y Quantity Supplied
A
4
56
16
ā
8
16 72 16 0
B
8
ā
24 16
102
C
8
ā
16
41
24
ā 41 0
Demand 56 0 8241 77 61 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
22. 12
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat the stepsā¦ for the reduced table until the entire capacities are exhausted to ļ¬ll the
requirements at the different destination.
W X Y Quantity Supplied
A
4
56
16
ā
8
16 72 16 0
B
8
ā
24 16
61 102 41
C
8
ā
16
41
24
ā 41 0
Demand 56 0 8241 0 77 61 0 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
23. 12
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā” Once all the allocations are over, i.e., both rim requirement (column and row i.e., availability
and requirement constraints) are satisļ¬ed, write allocations and calculate the cost of transportation.
W X Y Quantity Supplied
A
4
56
16
ā
8
16 72 16 0
B
8
ā
24
41
16
61 102 41 0
C
8
ā
16
41
24
ā 41 0
Demand 56 0 8241 0 77 61 0 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
24. 13
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā” Once all the allocations are over, i.e., both rim requirement (column and row i.e., availability
and requirement constraints) are satisļ¬ed, write allocations and calculate the cost of transportation
Rim Requirements
Stone squares must be equal to the nb. of columns+nb. of rowsā1. In this
table we have
3columns + 3rows ā 1 = 6 ā 1 = 5Stones
Transportation cost
From To Units in tons Cost in $
A W 56 56 Ć 4 = 224
A Y 16 16 Ć 8 = 128
B X 41 41 Ć 24 = 984
B Y 61 61 Ć 16 = 976
C X 41 41 Ć 16 = 656
Total 2968
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
25. 14
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
# Vogelās Approximation Method #
This method is preferred over the (NWCM) and (LCM), because the initial basic feasible solution
obtained by this method is either optimal solution or very nearer to the optimal solution. So the
amount of time required to calculate the optimum solution is reduced.
To understand this method more clearly, let us resolve the previous example.
Example
Transportation Availability in tons
(Cost per ton in $)
Factory W X Y sugar
A 4 16 8 72
B 8 24 16 102
C 8 16 24 41
Demand in Tons 56 82 77 215
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
26. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Find the cells having smallest and next to smallest cost in each row (resp. column) and write
the difference (called penalty) along the side of the table in row penalty (resp. column penalty).
W X Y Supply Penalty
A
4 16 8
72 4 = 8 ā 4
B
8 24 16
102 8 = 16 ā 8
C
8 16 24
41 8 = 16 ā 8
Demand 56 82 77 215
Penalty 4 = 8 ā 4 0 = 16 ā 16 8 = 16 ā 8
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
27. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
StepĘ Select the cell with the lowest transportation cost cij among all the rows and columns of the
transportation table. If the minimum cost is not unique then select arbitrarily any cell with the lowest
cost. Then allocate as many units as possible to the cell determined and eliminate that row in which
either capacity or requirement is exhausted. If there is a tie in the values of penalties then select
the cell where maximum allocation can be possible
W X Y Supply Penalty
A
4
ā
16
ā
8
72 72 0 4 = 8 ā 4
B
8 24 16
102 8 = 16 ā 8
C
8 16 24
41 8 = 16 ā 8
Demand 56 82 77 5 215
Penalty 4 = 8 ā 4 0 = 16 ā 16 8 = 16 ā 8
The maximum penalty is 8, occurs in column Y. The minimum cij in this column is c13 = 8.
The maximum allocation in this cell is min(72, 77) = 72.
It satisfy supply of A and adjust the demand of Y from 77 to 5 (77 ā 72 = 5).
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
28. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat this steps until all supply and demand values are 0.
W X Y Supply Penalty
A
4
ā
16
ā
8
72 72 0
B
8 24 16
102 8 = 16 ā 8
C
8 16 24
41 8 = 16 ā 8
Demand 56 82 77 5 215
Penalty 4 = 8 ā 4 8 = 24 ā 16 8 = 24 ā 16
The maximum penalty is 8, occurs in row B.
The minimum cij in this row is c21 = 8.
The maximum allocation in this cell is min(102, 56) = 56.
It satisfy demand of W and adjust the supply of B from 102 to 46 (102 ā 56 = 46).
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
29. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat this steps until all supply and demand values are 0.
W X Y Supply Penalty
A
4
ā
16
ā
8
72 72 0
B
8
56
24 16
102 46 8 = 16 ā 8
C
8
ā
16 24
41 8 = 16 ā 8
Demand 56 0 82 77 5 215
Penalty 4 = 8 ā 4 8 = 24 ā 16 8 = 24 ā 16
The maximum penalty is 8, occurs in row B.
The minimum cij in this row is c21 = 8.
The maximum allocation in this cell is min(102, 56) = 56.
It satisfy demand of W and adjust the supply of B from 102 to 46 (102 ā 56 = 46).
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
30. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat this steps until all supply and demand values are 0.
W X Y Supply Penalty
A
4
ā
16
ā
8
72 72 0
B
8
56
24 16
102 46 8 = 24 ā 16
C
8
ā
16 24
41 8 = 24 ā 16
Demand 56 82 77 5 215
Penalty 8 = 24 ā 16 8 = 24 ā 16
The maximum penalty is 8, occurs in row C.
The minimum cij in this row is c32 = 16.
The maximum allocation in this cell is min(41, 82) = 41.
It satisfy supply of C and adjust the demand of X from 82 to 41 (82 ā 41 = 41).
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
31. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat this steps until all supply and demand values are 0.
W X Y Supply Penalty
A
4
ā
16
ā
8
72 72 0
B
8
56
24 16
102 46 8 = 24 ā 16
C
8
ā
16
41
24
ā 41 0 8 = 24 ā 16
Demand 56 82 41 77 5 215
Penalty 8 = 24 ā 16 8 = 24 ā 16
The maximum penalty is 8, occurs in row C.
The minimum cij in this row is c32 = 16.
The maximum allocation in this cell is min(41, 82) = 41.
It satisfy supply of C and adjust the demand of X from 82 to 41 (82 ā 41 = 41).
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
32. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat this steps until all supply and demand values are 0.
W X Y Supply Penalty
A
4
ā
16
ā
8
72 72 0
B
8
56
24 16
102 46 8 = 24 ā 16
C
8
ā
16
41
24
ā 41 0
Demand 56 82 41 77 5 215
Penalty 24 16
The maximum penalty is 24, occurs in column X.
The minimum cij in this column is c22 = 24.
The maximum allocation in this cell is min(46, 41) = 41.
It satisfy demand of X and adjust the supply of B from 46 to 5 (46 ā 41 = 5).
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
33. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā Repeat this steps until all supply and demand values are 0.
W X Y Supply Penalty
A
4
ā
16
ā
8
72 72 0
B
8
56
24
41
16
102 46 8 = 24 ā 16
C
8
ā
16
41
24
ā 41 0
Demand 56 82 41 77 5 0 215
Penalty 24 16
The maximum penalty is 24, occurs in column X.
The minimum cij in this column is c22 = 24.
The maximum allocation in this cell is min(46, 41) = 41.
It satisfy demand of X and adjust the supply of B from 46 to 5 (46 ā 41 = 5).
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
34. 15
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā¦ Once all the allocations are over, i.e., both rim requirement (column and row i.e., availability
and requirement constraints) are satisļ¬ed, write allocations and calculate the cost of transportation.
W X Y Supply Penalty
A
4
ā
16
ā
8
72 72 0
B
8
56
24
41
16
5 102 46
C
8
ā
16
41
24
ā 41 0
Demand 56 82 41 0 77 5 0 215
Penalty
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
35. 16
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
North-west corner method
Least cost entry method
Vogelās Approximation Method (VAM) or penalty method
Stepā¦ Once all the allocations are over, i.e., both rim requirement (column and row i.e., availability
and requirement constraints) are satisļ¬ed, write allocations and calculate the cost of transportation.
Rim Requirements
Stone squares must be equal to the nb. of columns+nb. of rowsā1. In this
table we have
3columns + 3rows ā 1 = 6 ā 1 = 5Stones
Transportation cost
From To Units in tons Cost in $
A Y 72 72 Ć 8 = 576
B W 56 56 Ć 8 = 448
B X 41 41 Ć 24 = 984
B Y 5 5 Ć 16 = 80
C X 41 41 Ć 16 = 656
Total 2744
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
36. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
# Stepping stone method of optimality test #
Once, we get the basic feasible solution for a transportation problem, the next duty is to test
whether the solution got is an optimal one or not? This can be done by using Stepping Stone
methods.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
37. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Stepā Starting from the empty cell draw a loop moving horizontally and vertically from loaded cell
to loaded cell. We have to take turn only at loaded cells and move to vertically downward or
upward or horizontally to reach another loaded cell. In between, if we have a loaded cell, where we
cannot take a turn, ignore that and proceed to next loaded cell in that row or column. After
completing the loop, mark minus (ā) and plus (+) signs alternatively, but begin with the + mark in
the empty cell, and calculate the cost change.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
38. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Stepā Starting from the empty cell draw a loop moving horizontally and vertically from loaded cell
to loaded cell. We have to take turn only at loaded cells and move to vertically downward or
upward or horizontally to reach another loaded cell. In between, if we have a loaded cell, where we
cannot take a turn, ignore that and proceed to next loaded cell in that row or column. After
completing the loop, mark minus (ā) and plus (+) signs alternatively, but begin with the + mark in
the empty cell, and calculate the cost change.
A āā Y : +AY ā BY + BX ā AX = +8 ā 16 + 24 ā 16 = 0
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
39. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
StepĘ Repeat these steps again until all the empty cells get evaluated.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
40. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
StepĘ Repeat these steps again until all the empty cells get evaluated.
B āā W : +BW ā BX + AX ā AW = +8 ā 24 + 16 ā 4 = ā4
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
41. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
StepĘ Repeat these steps again until all the empty cells get evaluated.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
42. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
StepĘ Repeat these steps again until all the empty cells get evaluated.
C ā W : +CWāCY+BYāBX+AXāAW = +8ā24+16ā24+16ā4 = ā12
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
43. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
StepĘ Repeat these steps again until all the empty cells get evaluated.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
44. 17
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
StepĘ Repeat these steps again until all the empty cells get evaluated.
C ā X : +CX ā CY + BY ā BX = +16 ā 24 + 16 ā 24 = ā16
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
45. 18
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Stepā Evaluate the cost change. If the cost change is positive, it means that if we include the
evaluated cell in the program, the cost will increase. If the cost change is negative, it means that
the total cost will decrease, by including the evaluated cell in the program.
Now, if all the cost changes are positive or are equal to or greater than zero, then the optimal
solution has been reached. But in case, if any, value comes to be negative, then there is a scope to
reduce the transportation cost further. Then, select that loop which has the most negative of cost
change.
S.No. Empty Cell Evalution Loop formation C. change
B ā W +BW ā BX + AX ā AW +8 ā 24 + 16 ā 4 ā4
C ā W +CW ā CY + BY ā BX + AX ā AW +8 ā 24 + 16 ā 24 + 16 ā 4 ā12
C ā X +CX ā CY + BY ā BX +16 ā 24 + 16 ā 24 -16
A ā Y +AY ā BY + BX ā AX +8 ā 16 + 24 ā 16 0
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
46. 18
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Stepā Evaluate the cost change. If the cost change is positive, it means that if we include the
evaluated cell in the program, the cost will increase. If the cost change is negative, it means that
the total cost will decrease, by including the evaluated cell in the program.
Now, if all the cost changes are positive or are equal to or greater than zero, then the optimal
solution has been reached. But in case, if any, value comes to be negative, then there is a scope to
reduce the transportation cost further. Then, select that loop which has the most negative of cost
change.
C āā X
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
47. 18
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Stepā¦ Identify the lowest load in the cells marked with negative sign. This number is to be added to
the cells where plus sign is marked and subtract from the load of the cell where negative sign is
marked. Do not alter the loaded cells, which are not in the loop. The process of adding and
subtracting at each turn or corner is necessary to balance the demand and supply requirements.
-
66
+
36
+
ā
-
41
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
48. 18
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Stepā Construct a table of empty cells and work out the cost change for a shift of load from loaded
cell to loaded cell.
-
66
+
36
+
ā
-
41
=ā
41 ā 66
25
41 + 36
77
41 + 0
41
41 ā 41
ā
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
49. 19
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
New table
W X Y Demand
A
4
56
16
16
8
ā 72
B
8
ā
24
25
16
77 102
C
8
ā
16
41
24
ā 41
Supply 56 82 77 215
Rim Requirements
3columns + 3rows ā 1 = 6 ā 1 = 5Stones
Transportation cost
From To Units in tons Cost in $
A W 56 56 Ć 4 = 224
A X 16 16 Ć 16 = 256
B X 25 25 Ć 24 = 600
B Y 77 77 Ć 16 = 1232
C X 41 41 Ć 16 = 656
Total 2968
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
50. 20
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Second iteration
A āā Y : +AY ā BY + BX ā AX = +8 ā 16 + 24 ā 16 = 0
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
51. 20
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Second iteration
B āā W : +BW ā AW + AX ā BX = +8 ā 4 + 16 ā 24 = ā4
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
52. 20
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Second iteration
C āā W : +CW ā CX + AX ā AW = +8 ā 16 + 16ā = 4
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
53. 20
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Second iteration
C āā Y : +CY ā BY + BX ā CX = +24 ā 16 + 24 ā 16 = 16
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
54. 21
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Empty boxes
S.No. Empty Cell Evalution Loop formation Cost change in $
A ā Y +AY ā BY + BX ā AX +8 ā 16 + 24 ā 16 0
B ā W +BW ā AW + AX ā BX +8 ā 4 + 16 ā 24 -4
C ā W +CW ā CX + AX ā AW +8 ā 16 + 16 ā 4 4
C ā Y +CY ā BY + BX ā CX +24 ā 16 + 24 ā 16 16
-
56
+
16
+
ā
-
25
=ā
56 ā 25
31
16 + 25
41
25 + 0
25
25 ā 25
ā
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
55. 22
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
New table
W X Y Supply
A
4
31
16
41
8
ā 72
B
8
25
24
ā
16
77 102
C
8
ā
16
41
24
ā 41
Demand 56 82 77 215
Rim Requirements
3columns + 3rows ā 1 = 6 ā 1 = 5Stones
Transportation cost
From To Units in tons Cost in $
A W 31 31 Ć 4 = 124
A X 41 41 Ć 16 = 656
B X 25 25 Ć 8 = 200
B Y 77 77 Ć 16 = 1232
C X 41 41 Ć 16 = 656
Total 2868
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
56. 23
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Third iteration
S.No. Empty Cell Evalution Loop formation Cost change in $
A ā Y +AY ā BY + BW ā AW +8 ā 16 + 8 ā 4 -4
B ā X +BX ā AX + AW ā BW +24 ā 16 + 4 ā 8 4
C ā W +CW ā AW + AX ā CX +8 ā 4 + 16 ā 16 4
C ā Y +CY ā BY + BW ā AW + AX ā CX 24 ā 16 + 8 ā 4 + 16 ā 16 12
-
31
+
ā
+
25
-
77
=ā
ā 31
56 46
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
57. 24
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
New table
W X Y Supply
A
4
ā
16
41
8
31 72
B
8
56
24
ā
16
46 102
C
8
ā
16
41
24
ā 41
Demand 56 82 77 215
Rim Requirements
3columns + 3rows ā 1 = 6 ā 1 = 5Stones
Transportation cost
From To Units in tons Cost in $
A Y 31 31 Ć 8 = 248
A X 41 41 Ć 16 = 656
B W 56 56 Ć 8 = 448
B Y 46 46 Ć 16 = 736
C X 41 41 Ć 16 = 656
Total 2744
Dr. Kamel ATTAR | Chapter 4: Transportation problem |
58. 25
Deļ¬nition and basic notation
Transportation Model
Methods for obtaining initial feasible basic solution
Optimality Test: (Method for optimal solution)
Stepping stone method of optimality test
Final iteration
Empty boxes
S.No. Empty Cell Evalution Loop formation Cost change in $
B ā X +BX ā AX + AY ā BY +24 ā 16 + 8 ā 16 0
C ā W +CW ā BW + BY ā AY + AX ā CX +8 ā 8 + 16 ā 8 + 16 ā 16 8
C ā Y +CY ā AY + AX ā CX +24 ā 8 + 16 ā 16 16
A ā W +AW ā BW + BY ā AY +4 ā 8 + 16 ā 8 4
Then the optimal solution of the transportation cost is 2744$.
Dr. Kamel ATTAR | Chapter 4: Transportation problem |