Transportation Problem
Transportation Problem
Transportation Problem
perations research (OR) are concerned with scientifically deciding how to best design and
operate peoplemachine systems, usually under conditions requiring the allocation of scarce
resources . (1Operations Research Society of America).
Operations research tools and has been a decision-making aid in almost all manufacturing
industries and in financial and service organizations. Key problem managers face is how to
allocate scarce resources among various activities or projects. Linear programming, or LP, is a
method of allocating resources in an optimal way. It is one of the most widely used In the term
linear programming, programming refers to mathematical programming.
One of the most important and successful applications of quantitative analysis to solving
business problems has been in the physical distribution of products, commonly referred to as
transportation problems. Basically, the purpose is to minimize the cost of shipping goods from
one location to another so that the needs of each arrival area are met and every shipping location
operates within its capacity. However, quantitative analysis has been used for many problems
other than the physical distribution of goods.
We could set up a transportation problem and solve it using the simplex method as with any LP
problem (see using the Simplex Method to Solve Linear Programming Maximization
However, the special structure of the transportation problem allows us to solve it with a faster,
more economical algorithm than simplex. Problems of this type, containing thousands of
variables and constraints, can be solved in only a few seconds on a computer. In fact, we can
solve a relatively large transportation problem by hand.
There are some requirements for placing an LP problem into the transportation problem
category.
The objective to satisfy the destination requirements within the plants capacity
constraints at the minimum transportation cost.
Inputs:
Objective:
Source
D1
D2
D3
D4
Availability
S1
C11
C12
C13
C14
a1
S2
C21
C22
C23
C24
a2
S3
C31
C32
C33
C34
a3
Requirement
b1
b2
b3
b4
ai = bj
The problem is to determine the values of xij such that total cost of transportation is
minimized.
We assume that the total quantity available is the same as the total requirement.
i.e. ai = bj
i1
i1
ai
j1
j 1
Where d=
b a
j 1
i 1
or
a b
i 1
j 1
respectively.
A solution where the row total of allocations is equal to the availabilities and the column total is
equal to the requirements is called a feasible solution .The solution with m+n-1 allocations is
called a Basic Solution.
Prototype Problem
Production at 3 facilities,
A, supply 200k
B, supply 350k
C, supply 150k
Distribute to 4 centers,
N, demand 60k
S, demand 140k
E, demand 300k
W, demand 200k
Production at 3 facilities,
A, supply 200k
B, supply 350k
C, supply 150k
Distribute to 4 centers,
N, demand 60k
S, demand 140k
E, demand 300k
W, demand 200k
Prototype Problem
When solving the transportation problem, the number of possible routes should be
m+n-1.
Two phases:
First phase:
2nd phase:
4. Examine whether the initial solution is feasible or not.( the solution is said to be feasible if the
solution has allocations in ( m+n-1) cells with independent positions.
5. Test wither the solution obtained in the above step is optimum or not using
a) Stepping stone method
b) Modified distribution (MODI) method.
6. If the solution is not optimum, modify the shipping schedule. Repeat the above until an
optimum solution is obtained.
Applications
To determine minimum cost production schedule that satisfies firms demand and
production limitations.
Destination
Sourc
e
A
B
C
Dema
nd
vj
16
13
22
17
14
13
19
15
20
23
10
60
140
300
200
Supply
200
350
150
Z = 700
Step2: If allocation made is equal to the supply available at the first source (a1 in first row), then
move vertically down to the cell (2,1).
If allocation made is equal to demand of the first destination (b1 in first column), then
mov
Step3: Continue the process until an allocation is made in the south-east corner cell of the
transportation table.
Advantages; it is simple and reliable. Easy to compute understand and interpret.
Disadvantages: This method does not take into considerations the shipping cost, consequently
the initial solution obtained by this method require improvement.
Problem1: Obtain initial solution in the following transportation problem by using LCM
method.
Source
D1
D2
D3
D4
D5 Availability
S1
1100
S2
900
S3
8
4
4
6
6
Requirement 800 400 500 400 600
700
Step2: Then eliminate the row or column in which supply or demand is exhausted. If both the
supply and demand values are same, either of the row or column can be eliminated.
In case, the smallest unit cost is not unique, then select the cell where maximum allocation can
be made.
Step3: Repeat the process with next lowest unit cost and continue until the entire available
supply at various sources and demand at various destinations is satisfied.
Step1: Calculate penalty for each row and column by taking the difference between the
two smallest unit costs. For each row and column, calculate its difference:
Step3: Adjust the supply and demand and eliminate the satisfied row or column.
Eliminate any row/column with no supply / demand left from further steps. If a row and
column are satisfied simultaneously, eliminate both the row and column.
Step4:. Recompute the row and column difference for the reduced transportation table, omitting
rows or columns crossed out in the preceding step.
Step5:
Repeat the process until all the supply sources and demand destinations are satisfied. Repeat
until BFS found.
Repeat the above procedure until the entire supply at factories are exhausted to satisfy
demand at different warehouses.
Problem1: Obtain initial solution in the following transportation problem by using VAM
method
Problem 2: Obtain initial solution in the following transportation problem by using VAM
Step II: For the unoccupied (non-basic) cells, calculate the cell evaluations or the net evaluations
as ij = Cij (ui + vj).
Step III:
a) If all ij > 0, the current solution is optimal and unique.
b) If any ij = 0, the current solution is optimal, but an alternate solution exists.
c) If any ij < 0, then an improved solution can be obtained; by converting one of the basic cells
to a non basic cells and one of the non basic cells to a basic cell. Go to step IV.
Step IV: Select the cell corresponding to most negative cell evaluation.
This cell is called the entering cell. Identify a closed path or a loop which starts and ends at the
entering cell and connects some basic cells at every corner. It may be noted that right angle turns
in this path are permitted.
Step V: Put a + sign in the entering cell and mark the remaining corners of the loop alternately
with and + signs, with a plus sign at the cell being evaluated.
8.Determine the maximum number of units that should be shipped to this unoccupied cell.
The smallest one with a negative position on the closed path indicates the number of units that
can be shipped to the entering cell.
This quantity is added to all the cells on the path marked with plus sign and subtract from
those cells mark with minus sign.
In this way the unoccupied cell under consideration becomes an occupied cell making one of
the occupied cells as unoccupied cell.
9.Repeat the whole procedure until an optimum solution is attained i.e. ij is positive or zero.
Finally calculate new transportation cost.
Problem 3
Origins
Supply/capacity/a
vailability
D1
D2
D3
D4
O1
30
O2
50
O3
20
Demand/Requiremen
ts
20
40
30
10
Unbalanced transportation
Restricted routes
Maximisation
When the total availability is equal to the total requirement the problem (i.e. ai =
bj) is said to be a balanced transportation problem.
If the total availability at different sources is not equal to the total requirement at
different destinations, (i.e. ai bj), the problem is said to be an unbalanced
transportation problem.
Steps to convert an unbalanced problem to a balanced one are
1) If ai > bj i.e. the total availability is greater than the total requirement, a
dummy destination is introduced in the transportation problem with requirement =
ai - bj.
2) The unit cost of transportation from each source to this destination is assumed to
be zero.
3) If ai < bj i.e. the total availability is less than the total requirement, a dummy
source is introduced in the transportation problem with requirement = b j - ai.
The unit cost of transportation from each destination to this source is assumed to
be zero.
After making the necessary modifications in the given problem to convert it to a
balanced problem, it can be solved using any of the methods.
Include a dummy source or a dummy destination having a supply d or
demand d to convert it to a balanced transportation problem.
Where d =
n
j 1
i 1
i 1
j 1
bj ai or ai bj respectively.
Problem
.Holiday shipments of iPods to distribution centers
Production at 3 facilities,
A, supply 200k
B, supply 350k
C, supply 150k
Distribute to 4 centers,
N, demand 160k
S, demand 140k
E, demand 300k
W, demand 200k
Total demand total supply
Obtain initial solution in the following transportation problem by using
VAM method
Source
16
13
22
17
14
13
19
15
20
23
10
200
350
150
Demand
160
140
300
Supply
200
v j ui
Restricted routes
Sometimes in a transpiration problem some routes may not be available.
This could be due to a variety of reasons like unfavorable weather condition
or a strike on particular route etc.
In such a situation there is a restrictions on route available for transportation.
We assign a very large cost represented by M to each of such routes which
are not available.
The effect of adding a large cost element would be that such routes would
automatically be eliminated in the final solutions.
Problem1.The XYZ Tobacco company purchased and stores in warehouses
located in the following four cities
From\ To
C1
C2
C3
10
12
11
Demand
120
100
110
Because of railroad construction, shipments are temporarily prohibited from warehouse at city A
to company C1.i) Find the optimal distribution for XYZ tobacco Company.
Maximisation Problem
A Transpiration Tableau contains unit profits instead of unit costs and the
objective function be the maximization of profits.
To convert maximization problem to minimization all the values of profit
matrix are subtracted from the highest profit value in the matrix
The objective function is determined with reference to the original profit
matrix
If a maximization type of transportation problem is unbalanced then it
should be balanced by introducing necessary dummy row or column before
converting it into maximization problem.
Similarly if such a problem has prohibited route, then the pay of element for
such a route should be submitted by M before proceeding to convert to
maximization type.
Prob.Solve the following transportation problem for maximum profit.
X
Availability
12
18
25
200
10
18
500
14
11
20
300
Demand
180
320
100
400
Thank you
[email protected]
-------------------------------------------------------------------------
into transshipment points must be shipped out. The transshipment problem is the
subject of Module 7.2 Notes. Complexity is also added by placing capacity constraints
on the routes or the transshipment points.
You will see that the transportation problem is simply another application of linear
programming, but it is such a widespread application that this and other quantitative
texts devote a chapter just to this application. Companies like 3M that have multiple
manufacturing sites, many distribution centers and warehouses, and multiple consumer
demand locations find the transportation problem to be so complex that linear
programming applications are in common use.
Table 7.1.1
Origin
(Troops
Available)
Fort Bragg
(14,000)
Destination
(Troops
Needed)
To Ada -->
To Dha -->
To Whl -->
Dhahran
Fort Hood
(6,000)
To Ada -->
To Dha -->
To Whl -->
(10,000)
Wheelus
(5,000)
The table shows that 14,000 troops are available for deployment out of Fort Bragg. It
takes 7 days to deploy troops from Fort Bragg to Adana, which has a demand for 5,000
troops. So, one alternative is to deploy 5,000 troops out of Fort Bragg to Adana, leaving
9,000 troops available at Fort Bragg for Dhahran or Wheelus. The "cost" of this move
would be 5,000 troops times 7 days giving 35,000 troop deployment days.
Another way of satisfying the demand at Adana is to deploy 5,000 troops from Fort
Hood. Note it takes 10 days to deploy troops from Fort Hood to Adana, which would
give 5,000 times 10 days or 50,000 troop deployment days. We could continue to try
different combinations of origins and destinations to minimize total troop deployment
days while meeting demand and staying within troop availability constraints. For a small
problem, it would not be too difficult to try all of the combinations of solutions to find the
optimal solution. But if there were many origins, such as 10 or more, and many
destinations, such as 15 or more, the problem would be too cumbersome to work "by
hand."
I should note here that in the parallel automobile example, the 7, 10 and other
deployment day coefficients might be $700, $1000 and other freight charges. The
objective for the commercial application would be to minimize transportation costs while
meeting demand and staying within the available supply constraints.
Linear programming is an excellent quantitative method for application to the
transportation problem. Recall from Module 6, that to formulate a linear program we
need to decide on the decision variables, create the objective function as a linear
equation, and then formulate the constraints as linear equations.
For the transportation problem, the decision variables are:
FtB_Ada = Nbr of troops to deploy from Fort Bragg to Adana
FtB_Dha = Nbr of troops to deploy from Fort Bragg to Dhahran
FtB_Whl = Nbr of troops to deploy from Fort Bragg to Wheelus
FtH_Ada = Nbr of troops to deploy from Fort Hood to Adana
FtH_Dha = Nbr of troops to deploy from Fort Hood to Dhahran
FtH_Whl = Nbr of troops to deploy from Fort Hood to Wheelus
Note that the number of variables for the standard transportation problem is the number
of origins times the number of destinations. For this problem, there are two origins and
three destinations which gives 2 times 3 or 6 decision variables. The decision variables
then represent the units shipped over the deployment or shipping routes. Also note that
I used a code for naming the variables. The text uses X12 to represent the number of
units shipped from origin one to destination 2. I like to use a more descriptive code to
represent the route, and abbreviate names to keep within the 8 character variable name
restrictions of The Management Scientist.
The objective function is to minimize troop deployment days, where days ("costs") are
the coefficients multiplied times the number of troops routing decision variables.
Minimize Z = 7 FtB_Ada + 8 FtB_Dha + 8 FtB_Whl
+10 FtH_Ada + 7 FtH_Dha + 5 FtH_Whl
To show how this equation works, let's compute the deployment days for the solution
FtB_Ada = 5,000; FtB_Dha = 5,000; Fth_Whl = 4,000; Fth_Dha = 5,000 and FtH_Whl =
1,000.
Minimize Z = 7 (5,000) + 8 (5,000) + 8 (4,000) + 7 (5,000)
+ 5 (1,000) = 147,000 troop deployment days
This is a feasible solution but we do not know if it is optimal until we try all combinations
(or finish the constraint set and let the computer software run the combinations). Now
for the constraints which include staying within the available supply at each origin node.
Fort Bragg Supply: FtB_Ada + FtB_Dha + FtB_Whl < 14,000
Fort Hood Supply: FtH_Ada + FtH_Dha + FtH_Whl < 6,000
The constraints also include meeting the customer demand:
Adana Demand: FtB_Ada + FtH_Ada = 5,000
Dhahran Demand: FtB_Dha + FtH_Dha = 10,000
Wheelus Demand: FtB_Whl + FbH_Whl = 5,000
Note that I made the demand constraints strict equalities, but allowed for slack in the
supply constraints. This general formulation works as long as supply = demand or
supply is greater than demand. If supply is greater than demand, the slack constraint
will indicate which origin should have the excess supply. I will talk about how to handle
the special case of demand being greater than supply after we look at the solution.