Teaching Notes - Module 3
Teaching Notes - Module 3
Practical Issues
• What is the optimal way of shipping goods from various sources (warehouses) to
different markets so as to minimize the total cost involved in the shipping?
• How to handle a situation when some routes are not available or when some units have
to be necessarily transported from a particular source to a particular market?
• If it were possible to increase supply, which of the sources should be preferred?
• Instead of allowing shipping of goods only from listed sources to different destinations,
if it were possible to ship goods from a particular source to another source or destination
and then from there to a further destination, how much cost can be saved? This is what
is called a transshipment problem.
Let 𝑥𝑖𝑗 = number of units of the product to be transported from a production facility 𝑖 (𝑖 =
1,2,3) to a warehouse 𝑗 (𝑗 = 1,2,3,4)
The Transportation problem is stated as an LP model as follows:
Minimize
𝑍 = 19𝑥11 + 30𝑥12 + 50𝑥13 + 10𝑥14 + 70𝑥21 + 30𝑥22 + 40𝑥23 + 60𝑥24 + 40𝑥31 + 8𝑥32
+ 70𝑥33 + 20𝑥34
Subject to constraints
Supply constraints
𝑥11 + 𝑥12 + 𝑥13 + 𝑥14 = 7
𝑥21 + 𝑥22 + 𝑥23 + 𝑥24 = 9
𝑥31 + 𝑥32 + 𝑥33 + 𝑥34 = 18
Demand constraints
𝑥11 +𝑥21 + 𝑥31 = 5
𝑥12 + 𝑥22 + 𝑥32 = 8
𝑥13 + 𝑥23 + 𝑥33 = 7
𝑥14 + 𝑥24 + 𝑥34 = 14
𝑥𝑖𝑗 ≥ 0
n
Subject to xij = si (i = 1, 2,..., m)
j =1
m
x
i =1
ij = dj ( j = 1, 2,..., n)
s = d
i =1
i
j =1
j
` ````````
Example 2
First of all the difference between two least cost cells are calculated for each row
and column, which can be seen in the iteration given for each row and column.
Then the largest difference is selected, which is 4 in this case. So, allocate 20 units
to cell BD, since the minimum cost is to be chosen for the allocation. Now, only 20
units are left with the source B.
Column D is deleted, again the difference between the least cost cells is calculated
for each row and column, as seen in the iteration below. The largest difference
value comes to be 3, so allocate 35 units to cell AF and 15 units to the cell AE.
With this, the Supply and demand of source A and origin F gets saturated, so
delete both the row A and Column F.
Now, single column E is left, since no difference can be found out, so allocate
60 units to the cell CE and 20 units to cell BE, as only 20 units are left with
source B. Hence the demand and supply are completely met.
Now the total cost can be computed, by multiplying the units assigned to each
cell with the cost concerned. Therefore,
Transportation problem is a special case of linear programming, but they are not solved using
simplex algorithm for the following two reasons:
• The balanced transportation problem has all its constraints in equation form and since
∑𝑎𝑖 = ∑𝑏𝑗, the system of equations (constraints) is linearly dependent. This gives rise
to degeneracy and the limitation of the simplex algorithm resulting in more iteration for
degenerate problems are well known.
• The balanced transportation problem by its structure allows the formation of good basic
feasible solutions that are close to optimal, while simplex starts with a basic feasible
solution that is quite far away from the optimal. Balanced transportation problems are
solved by creating an initial basic feasible solution, that is close to optimum and then
reaching the optimum in very few iterations.
Assignment Problem
Practical issue
• How to assign the given jobs to some workers on a one-to-one basis when completion
time of performance is given for each combination and it is desired that the jobs are
completed in the least time or at the least cost.
• How to deal with situations when the number of jobs do not match with the number of
job performers, when some job(s) cannot be performed by, or is not be given to, a
particular performer, or when a certain job has to be given to a particular individual?
• How should the salesman of a company be assigned to different sales zones so that the
total expected sales are maximized?
• How to schedule the flights or the bus routes between two cities so that the layover
times for the crew can be minimized?
• This situation is a special case of the Transportation Model And it is known as the
assignment problem.
• The supply available at each source is 1 unit And demand at each destination is 1 unit.
Minimize
𝑍 = 45𝑋11 + 40𝑋12 + 51𝑋13 + 67𝑋14 + 57𝑋21 + 42𝑋22 + 63𝑋23 + 55𝑋24 +
49𝑋31 + 52𝑋32 + 48𝑋33 + 64𝑋34 + 41𝑋41 + 45𝑋42 + 60𝑋43 + 55𝑋44
Subject to
𝑋11 + 𝑋12 + 𝑋13 + 𝑋14 = 1
𝑋21 + 𝑋22 + 𝑋23 + 𝑋24 = 1
𝑋31 + 𝑋32 + 𝑋33 + 𝑋34 = 1
𝑋41 + 𝑋42 + 𝑋43 + 𝑋44 = 1
𝑋11 + 𝑋21 + 𝑋31 + 𝑋41 = 1
𝑋12 + 𝑋22 + 𝑋32 + 𝑋42 = 1
𝑋13 + 𝑋23 + 𝑋33 + 𝑋43 = 1
𝑋14 + 𝑋24 + 𝑋34 + 𝑋44 = 1
All 𝑋𝑖𝑗’𝑠 = 0 𝑜𝑟 1