Chapter Three Transportation and Assignment Models
Chapter Three Transportation and Assignment Models
Chapter Three Transportation and Assignment Models
3.1. INTRODUCTION
One important application of linear programming has been in the area of the physical distribution
(transportation) of resources, from one place to another, to meet a specific set of requirements. The
transportation and assignment models are designed to address these LPPs of special formation and
objectives. This chapter describes two special –purpose algorithms: the transportation model and the
assignment model. Model formulation and manual solution are covered for each of these classes of
problems.
3.2. TRANSPORTATION PROBLEMS AND MODELS
Transportation problems deal with the distribution of goods from several points of supply (sources) to
a number of points of demand (destinations). They are usually applied to distribution type problems in
which supplies of goods that are held at various locations are to be distributed to other receiving
locations.
Objective of the transportation model
to identify a distribution plan that would minimize the cost of transporting the goods from the
supply areas to the demand areas taking into account supply capacities and demand requirements
as well as transportation costs.
Application areas
Wecan use transportation model for various types of problems. For example:
Shipments from factories to warehouses
Shipments between departments within a company
Analysis and selection among location alternative
scheduling production operations etc
Necessary conditions for the model
A transportation problem typically involves a set of sending locations which are referred to as
origins(supply areas ) and a set of receiving locations which are referred to as destinations ( demand
areas). In order to develop a model of a transportation problem it is necessary to have the following
information:
1. Supply quantity (capacity) of each origin
2. Demand quantity of each destination
3. Unit transportation cost for each origin- destination route
Assumptions
The transportation model works under circumstances defined by certain assumptions some of
which are specified below.
1. All goods be homogeneous
2. Transportation costs are a direct linear function of the quantity shipped over any route
3. The total quantity available for shipment is equal to the total quantity demande
The characteristics of transportation problem
1. A limited supply of one commodity is available at certain sources or origins.
2. There is demand for the commodity at several destinations
3. The quantities of supply at each source and the demand at each destination are constant.
4. The shipping or transportation costs per unit from each source to each destination are assumed
to be constant.
5. No shipments are allowed between sources or between destinations. All supply and demand
quantities are given in whole number or integers.
6. The problem is about determining how many units should be shipped from each source to each
destination so that all demands are satisfied at the minimum total shipping costs.
Example
Let’s consider that a firm has three factories /sources of supply/ from which it ships its product out
puts to four warehouses /point of demand/ located at various regions where its customer bases are
concentrated. The firm's production capacity at the three factories, the demand for the four
distribution centers located at various regions & the cost of shipping each unit from each factory to
the warehouses through each route is given as follows:
Factories Weekly supply capacity/in units
F1 5000
F2 6000
F3 2500
F1 3 2 7 6
F2 7 5 2 3
F3 2 5 4 5
3.3.1. Solving for transportation problems
Solution Procedure
The solution algorithm to a transportation problem is summarized into the following steps:
Step 1: Formulate the transportation table
o Set up a transportation table with M- rows representing the number of supply areas and
N- columns representing the number of demand areas.
o The formulation of the problem is similar to that of linear programming. Here the
objective function is designed to minimize the total transportation cost and the constraints
are the supply and demand available at each source and destination respectively. The
origins are listed down the left side of the table, and the respective supply quantities are
listed down the right side of the table. The demand destination points are represented at
the top each column where as their respective requirements are specified at the bottom.
Step 2: Obtain an initial basic feasible solution
For this there are 3 methods to find the initial feasible solution.
North-West Corner Method (NWCM)
Least Cost Method (LCM)
Vogel’s Approximation Method (VAM)
Example
o If M=3 origins and N=4 destinations ==>M+N-1=3+4 -1=6 (i.e. for problem to have a
feasible solution, the transportation model/table should have 6 occupied cells).
o If the number of occupied cells is less than m+n-1, the solution is said to have degenerated, a
situation we shall discuss as one of the special issues in transportation problems.
Step 3: Test the initial solution for optimality
o If the current solution is optimal, then stop. Otherwise, determine the new improved solution.
o Two methods can be used to test feasible solutions for optimality
1. Stepping stone methods
2. Modified distribution method( MODI)
Step 4: Repeat step 3 until an optimal solution is reached
Example
Now let’s solve the factory-warehouse (the details are already provided above) problem
based on the rules and methods illustrated in the solution procedure.
1. CONSTRUCTING THE TRANSPORTATION TABLE/MODEL
Summarize all the given (supply, demand, and costs) information in the tabular form/model
as follows.
Destinations (dd) =j
Origin (Supply) W1 W2 W3 W4 Factory Capacity =i
F1 3 2 7 6 5000
F2 7 5 2 3 6000
F3 2 5 4 5 2500
Requirements of the
Warehouses
6000 4000 2000 1500 13500
( Units of demand)
Note that we can solve the problem using LPPM, because transportation problem is a special type of
LPPM. It is just about formulating it as LPPM which can be done as follows:
o Let xij =The amount of commodity to be transported form source i (i =1,2,3) to
destination j ( j= 1,2,3,4).
o Then the objective function of the problem (minimization of the total transportation
cost) can be formulated as:
Min Z = 3x11 +2x12 + 7x13 +6 x14 + 7x21 +5x22 +2x23 + 3x24 + 2x31+5x32 +4x33+5x34
Subject to the constraints
a.Supply constraints:
x11 +x12 +x13 +x 14 =5000 F1 supply constraint
x21 + x22 + x23 +x24 =6000F2 supply constraint
x31 +x32 +x33+x34 = 2500F3supply constraint
b.Demand constraints:
x11 + x21 + x31 = 6000 W1 demand constraint
x12 + x22 + x32 = 4000 W2demand constraint
x13 + x23 +x33 = 2000 W3 demand constraint
x14 +x24 + x34 = 1500 W4 demand constraint
xij > 0 for all i& j
In the above LPP, there are m x n = 3x4 =12 decision variables & m + n = 3+4 =7 constraints. Thus, if
this problem is solved by the simplex method, then it may take considerable computational time.
To conceptualize the problem easily let’s represent of the problem using a Net work flow diagram
Origin Destination centers
(Sources of Supply)
(Point of demand centers
F1 5000 3
2 W1 6000
6 7
7
F2 6000 5
W2 4000
3 2
2
5
F3 2500 4
W3 2000
5
W4 1500
This LPP has 12 shipping routes. Determining the set of routes with the minimum total cost would be
the objective of the solution procedure and the transportation table prepares the problem for its
feasible then optimal solution.
2. FINDING INITIAL FEASIBLE SOLUTION FOR A TRANSPORTATION PROBLEM
METHODS/TECHNIQUES
There are several methods available to obtain an initial feasible solution of a transportation problem.
Here we shall discuss only three methods to obtain the initial feasible solution: each method has its
own rationales and merits that make it considered under certain circumstances. Our discussion,
therefore, will not be about comparing each method. We will rather try to develop feasible solutions
using each method as a rational approach to solve for transportation problems.
Plant 2 70 30 40 60 9
Plant 3 40 8 70 20 18
Demand 5 8 7 14 34
Required
a. Develop an initial feasible solution using the NWCM
b. Compute the total cost for this solution.
Solution
a. Table: Initial feasible solution
To Store 1 Store 2 Store 3 Store 4 Supply
From
Plant 1 19 30 50 10 7
5 2
Plant 2 70 30 40 60 9
6 3
Plant 3 40 8 70 20 18
4 14
Demand 5 8 7 14 34
Note: NWCM does not consider the cost factor for allocation.
Example 2
1. Determine an initial basic feasible solution to the following transportation problem using NWCM
and compute the total cost for this solution
Destination
Origins A B C Supply
S1 2 7 14 5
S2 3 3 1 8
S3 5 4 7 7
S4 1 6 2 14
Demand 7 9 18 34
Answer: X11=5, X21=2, X22=6, X32=3, X33=4, X43=4, and Total cost =$10
Exercise/s
1. Consider that Haile's Sand &Gravel Pit has contracted to provide topsoil for three residential
housing developments. Topsoil can be supplied from three different “farms" as follows:
________________________________________________________
Weekly Capacity
Farm (Cubic meters)
A 100
B 200
C 200
_________________________________________________________________
Required
o Develop the initial feasible solution using NWCM & compute the total cost for this solution.
B. The Least- Cost Method (LCM)
LCMis the method that considers the transportation cost the criteria to select the mix of the routes to
be used for transportation. It begins a solution by sequentially assigning to the cells with the
minimum costas many units as possible. The first allocation is made to the cell with the lowest cost.
The Least- Cost Methodyields not only an initial feasible solution but also one that is close to
optimal in small problems.
Example 1
Suppose that a firm has three factories / sources of supply /& four warehouses/point of
demand/.The firm's production capacity at the three factories, the demand for the four
destination centers located at various regions & the cost of shipping each unit from the
factories to the warehouses through each route is given as follows:
Destinations
Origins W1 W2 W3 W4 Factory
Capacity
F1 3 2 7 6 5000
F2 7 5 2 3 6000
F3 2 5 4 5 2500
Demand 6000 4000 2000 1500 13500
Required
a. Develop an initial feasible solution using NWCM & Compute the total cost
b. Develop an initial feasible solution using least-cost method & compute the total cost.
Solution
a. Initial feasible solution using NWCM
W1 W2 W3 W4 Factory Capacity
F1 3 2 7 6 5000
5000
Factory 7 5 2 3
F2 6000
1000 4000 1000
F3 2 5 4 5 2500
1000 1500
Demand 6000 4000 2000 1500 13500
Since m= 3, n=4 ==> 3+4-1 = 6 is the number of occupied cells, the solution is feasible.
Example 2
Develop the initial feasible solution for the following TP using the least-cost method (LCM)
To D E F G Supply
From
A 1 5 3 4 100
B 4 2 2 5 60
C 3 1 2 4 120
DD 70 50 100 60 280
Solution
o The 1st allocation should be made to the cell with the least-cost.
o Cells AD & CD both have the lowest cost of $1.
o Cell AD is selected 1st because more units can be allocated to it (70) than to cell CE (50).
The initial solution by the least -cost method
Destination D E F G Supply
Source
A 1 5 3 4 100
70 30
B 4 2 2 5 60
30 30
C 3 1 2 4 120
50 70
Demand 70 50 100 60 280
m=3, n=4 ==> 3+4-1 = 6 occupied cells meaning the solution is feasible.
In this method allocation is made so that the penalty cost is minimized. The advantage of this method
is that it gives an initial solution which is nearer to an optimal solution or is the optimal solution itself.
The steps in the VAM solution procedure are listed down as follows:
1. Calculate penalties for each row (column) by taking the smallest & the next smallest unit
transportation cost in the same row (column). This difference indicates the penalty or extra
cost which has to be paid if one fails to allocate to the cell with the minimum unit
transportation cost
2. Select the row or column with the largest penalty & allocate as much unit as possible in the cell
having the least cost in the selected row or column satisfying the conditions. If there is a tie in
the values of penalties, then it can be broken by selecting the cell where maximum allocation
can be made.
3. Adjust the supply & demand & cross out the satisfied row or column. If a row or column is
satisfied simultaneously, only one of them is crossed out & the remaining row (column) is
assigned a zero supply (demand). .Any row or column with zero supply or demand should not
be used in computing future penalties.
4. Repeat step 1 to 3 until the entire available supply at various sources & demand at various
destinations are satisfied.
Example 1
Determine an initial feasible solution to the following transportation problem using VAM.
Warehouse
Row difference or Row penalty
A B C D Supply
F1 2 2 0 4 25 or opportunity cost
Factory 5 20
F2 5 9 8 3 25
15 5 5 2 0 - - -
F3 6 4 3 2 10
10
Demand 20 15 20 5 60
2 2 2 2 5
Column difference 3 2 3 1
orColumn penalty
or opportunity cost 3 2 - 1
1 2 2 - -
1 5 - 1
Feasibility
o m= 3, n=4 ==> 3+4-1 =6 occupied cells (feasible)
5 9 - -
Total transportation cost associated with this solution is:
o Total cost= 5x2 + 20x0+15x5x9 =+95x3+10x4= $185
5 - - -