OR-Chapter 4
OR-Chapter 4
TRANSPORTATION AND
ASSIGNMENT MODEL
Transportation Model
• A TP typically involves:
– a set of sending locations which are referred to as
origins, and
– a set of receiving locations, which are
referred to as destinations.
• Information required to develop a TP model include:
– Supply quantity (capacity) of each origin.
– Demand quantity of each destination.
– Unit transportation cost for each origin-destination
route.
Cont’d
Assumptions:
To
From City 1 City 2 City 3 City 4
Plant 1 $8 $6 $10 $9
Plant 2 $9 $12 $13 $7
Plant 3 $14 $9 $16 $5
• Required
Formulate an LP to minimize the cost of meeting each city’s
peak demand.
Cont…
Let:
xij = number of (million) quintals produced at plant i and
sent to city j
The total cost of supplying the peak demands to cities
1–4 may be written as:
Let:
xij = number of units shipped from supply point i to
demand point j, then:
• The general formulation of a transportation problem is
• If the total supply equals total demand, and the problem is said
to be a balanced transportation problem.
Cont…
Plant 2 9 12 13 7 50
Plant 3 14 9 16 5 40
Demand 45 20 30 30
Solving Transportation Problems
NB: =$1160
To
From City 1 City 2 City 3 City 4 Supply
Plant 1 * 8 6 10 9 35
-
Plant 2 * 9 * 12 * 13 7 50
+ -
Plant 3 14 9 * 16 * 5 40
Demand 45 20 30 30
Cont…
• The net impact of such a unit shift can be determined by adding the
cell costs with signs attached and noting the resulting value.
• Evaluation for Cell P1-C2, for instance, can be done as:
6-12+9-8=-5
• Evaluation for all other empty cells is shown below (Iteration 1)
Plant 1 City 2 10 60
Plant 1 City 3 25 250
Plant 2 City 1 45 405
Plant 2 City 3 5 65
Plant 3 City 2 10 90
Plant 3 City 4 30 150
Total minimum transportation $1020
cost
2. The MODI method
u1 =0
u2 =1
u3 =4
ν1 =8 ν2 =11 ν3 =12 ν4 =1
Finding Index numbers for each row and column
5 1 9 7 6 3
Farm B 150 50 200 Farm C 120 120
7 6 3 0 0 0
Farm C 120 120 Dummy 80 80
DD≠ SS DD=SS
(Balanced)
Cont…
3. Degeneracy
– A solution is degenerate if the number of occupied cells is
less than the number of rows plus the number of
columns minus one.
– i.e., there are too few occupied cells to enable all the empty
cells to be evaluated.
– To solve the problem, place a zero quantity in one of
unoccupied cells and proceed computing improvement
indices
– Other method is placing a delta () in one of the empty
cells.
Cont…
• The delta represents an extremely small quantity (e.g. 0.001
unit).
• It is so small that supply and demand for the row and column
involved will be unaffected
• Example:
$10 100 $9 20 $9
Warehouse 2 120
$7 $10 80 $7
Warehouse 3 80
0
Custome 100 100 100 300
r
demand
Cont…
4. Unacceptable Routes
• In some cases,an origin-destination combination may be
unacceptable.
• This may be due to weather factors, equipment breakdowns,
labor problems that may make certain routes undesirable.
• One way of overcoming the problem is to assign a cost that
is extremely large in that cell (or a very big +M).
- One rule of thumb would be to assign a cost that is 10 times
the largest cost in the table.
• The prohibited route may appear in a non-optimal solution,
but it will be eliminated by the time the optimal solution is
reached.
Cont…
5. Maximization Problem
Some transportation type problems concern profits or revenues
rather than costs. In such cases, the objective is to maximize
rather than to minimize.
• Such problems can be handled by adding one additional
step at the start.
• i.e., converting the whole table in to opportunity cost table.
• Identify the cell with the largest profit and subtract all the
other cell profits from that value.
• Then replace the cell profits with the resulting values,
and use the regular procedure to solve.
The Assignment Problem (AP)
1. Unbalanced Problems
• The problem is said to be unbalanced when the number of
rows is not equal to the number of columns
– OR, the number of jobs is not equal to the number of
workers.
• In such cases, dummy column(s)/row(s), whichever is
smaller in number, are introduced with zeros as the cost
elements.
• After this, the problem is solved in the usual manner.
• Solve the exercise given in the next slide
Exercise
District
Salesman D1 D2 D3 D4 D5
S1 40 46 48 36 48
S2 48 32 36 29 44
S3 49 35 41 38 45
S4 30 46 49 44 44
S5 37 41 48 43 47