Professional Documents
Culture Documents
042 Transportation & Assignment Problems PDF
042 Transportation & Assignment Problems PDF
1
1. Transportation Problem (TP)
Total supply must equal total demand.
If total supply exceeds total demand, a dummy
destination, whose demand equals the difference
between the total supply and total demand is
created. Similarly if total supply is less than total
demand, a dummy source is created, whose supply
equals the difference.
All unit shipping costs into a dummy destination or
out of a dummy source are 0.
Example 1:
2
Example 2:
Destinatio Supply
n
D1 D2 D3 D4
S1 50 75 35 75 12
Source S2 65 80 60 65 17
S3 40 70 45 55 11
(D) 0 0 0 0 10
Demand 15 10 15 10
Transportation Tableau:
3
Initial Solution Procedure:
1. Northwest Corner Starting Procedure
1. Select the remaining variable in the upper left (northwest)
corner and note the supply remaining in the row, s, and the
demand remaining in the column, d.
2. Allocate the minimum of s or d to this variable. If this minimum
is s, eliminate all variables in its row from future consideration and
reduce the demand in its column by s; if the minimum is d,
eliminate all variables in the column from future consideration and
reduce the supply in its row by d.
REPEAT THESE STEPS UNTIL ALL SUPPLIES HAVE BEEN ALLOCATED.
4
Allocate using N-W method
W1 W2 W3 W4 availability
P1 190 300 500 100 70
P2 700 300 400 600 90
P3 400 100 600 0 180
Requirements 50 80 70 140
5
Total sipping cost = 2065
6
Allocate using least Cost method
W1 W2 W3 W4 availability
P1 190 300 500 100 70
P2 700 300 400 600 90
P3 400 100 600 0 180
Requirements 50 80 70 140
7
Total sipping cost = 2030
W1 W2 W3 W4 availability
P1 190 300 500 100 70
P2 700 300 400 600 90
P3 400 100 600 0 180
Requirements 50 80 70 140
8
Optimization
Optimization of Transportation initial solution
Stepping Stone Method
MODI method
Stepping Stone Method
Calculate opportunity cost of each empty cell
What impact it would have on the total cost if one unit
is assigned to empty cell
Occupied cells are called Stones
Cells containing stones are called Stone Cells
The unoccupied cells are called Water Cells
Unit movement is achieved by +-/ increase –decrease of
allocation
Loop to be formed with minimum three allocated cells
in clockwise manner
9
Cost is reduced to 2030
D1 D2 D3 D4 Supply
3 9
S1 50 75 30 45 12
S2 65 10 80 7 40 60 17
10 1
S3 40 70 50 55 11
Demand 10 10 10 10 40
MODI Method
Ui/Vi 30 70 30 45
D1 D2 D3 D4 Supply
50 75 3 30 9 45
0 S1 -20 -5 12
65 80 7 40 60
10 S2 -20 10 -5 17
10 40 70 50 1 55
10 S3 10 -10 11
Demand 10 10 10 10 40
S3D2->S2D2->S2D3-S1D3->S1D4->S3D4
10
Final iteration
Ui/Vi 30 70 30 45
D1 D2 D3 D4 Supply
50 75 30 10 45
0 S1 -20 -5 2 12
65 80 8 40 60
10 S2 -20 9 -5 17
10 40 70 50 0 55
10 S3 1 -10 11
Demand 10 10 10 10 40
Cost is 2020. since all non basic variables Ui+vi-cij <=0, we have reach optimality
Special Problems in
Transportation Method
Unbalanced problem
Demand less than supply
Demand greater than supply
Degeneracy
More than one optimal solution
11
Unbalanced Transportation
Problems
In real-life problems, total demand is not equal to
total supply.
These unbalanced problems can be handled
easily by using dummy sources or dummy
destinations.
If total supply is greater than total demand, a
dummy destination (warehouse), with demand
exactly equal to the surplus, is created.
If total demand is greater than total supply,
introduce a dummy source (factory) with a
supply equal to the excess of demand over
supply.
Unbalanced
Transportation Problems
Regardless of whether demand or supply
exceeds the other, shipping cost coefficients of
zero are assigned to each dummy location or
route because no shipments will actually be
made from a dummy factory or to a dummy
warehouse.
Any units assigned to a dummy destination
represent excess capacity, and units assigned to
a dummy source represent unmet demand.
12
Unbalanced Problem
Demand Less than Supply
Unbalanced Problem
Demand Less than Supply
(Continued)
To balance this type of problem, simply add a
dummy column that will represent a fake
warehouse requiring 150 desks.
This is somewhat analogous to adding a slack
variable in solving an LP problem.
Just as slack variables were assigned a value of
zero dollars in the LP objective function, the
shipping costs to this dummy warehouse are all
set equal to zero.
13
Unbalanced Problem
Demand Less than Supply
Customer Customer Dummy
1 2 Factory
Capacity
8 5 0
Factory 1
170
15 10 0
Factory 2
130
3 9 0
Factory 3
80
Customer
Requirements 150 80 150 380
Unbalanced Problem
Supply Less than Demand
The second type of unbalanced
condition occurs when total demand is
greater than total supply.
This means that customers or
warehouses require more of a product
than the firm’s factories can provide.
In this case we need to add a dummy
row representing a fake factory.
The new factory will have a supply
exactly equal to the difference between
total demand and total real supply.
The shipping costs from the dummy
factory to each destination will be zero.
14
Unbalanced Problem
Supply Less than Demand
Customer Customer Customer Factory
1 2 3 Capacity
Factory 1 8 5 16
170
Factory 2 15 10 7
130
Dummy 0 0 0
80
Customer
Requirements 150 80 150 380
Degeneracy
Degeneracy occurs when the number of
occupied squares or routes in a
transportation table solution is less than
the number of rows plus the number of
columns minus 1.
# Occupied Squares = Rows + Columns – 1
Such a situation may arise in the initial
solution or in any subsequent solution.
Degeneracy requires a special procedure to
correct the problem.
Without enough occupied squares to trace
a closed path for each unused route, it
would be impossible to apply the stepping-
stone method or to calculate the R and K
values needed for the MODI technique.
15
Degeneracy
To handle degenerate problems,
create an artificially occupied cell.
* That is, place a zero (representing a
fake shipment) in one of the unused
squares and then treat that square as
if it were occupied.
The square chosen must be in such
a
position as to allow all stepping-
stone paths to be closed.
* Although there is usually a good
deal of flexibility in selecting the
unused square that will receive the
zero.
16
Maximization Transportation
Problems
If the objective in a transportation problem is to
maximize profit, a minor change is required in the
transportation algorithm.
Since the improvement index for an empty cell indicates
how the objective function value will change if one unit is
placed in that empty cell,
the optimal solution is reached when all the improvement
indices are negative or zero.
If any index is positive, the cell with the largest positive
improvement index is selected to be filled using a
stepping-stone path.
This new solution is evaluated and the process continues
until there are no positive improvement indices.
17
The Assignment Model
18
Assumptions:
1. There is a cost assignment matrix for the m
“people” to be assigned to m “tasks.” (If necessary
dummy rows or columns consisting of all 0’s are
added so that the numbers of people and tasks are
the same.)
2. All costs are nonnegative.
3. The problem is a minimization problem.
19
Iterative Steps
1. Make as many 0 cost assignments as possible. If all workers are
assigned, STOP; this is the minimum cost assignment. Otherwise
draw the minimum number of horizontal and vertical lines
necessary to cover all 0’s in the matrix. (A method for making the
maximum number of 0 cost assignments and drawing the
minimum number of lines to cover all 0’s follows.)
2. Find the smallest value not covered by the lines; this number is
the reduction value.
3. Subtract the reduction value from all numbers not covered by
any lines. Add the reduction value to any number covered by
both a horizontal and vertical line.
GO TO STEP 1.
20
Again, for small problems, the minimum number of lines required
to cover all the 0’s can usually be determined by observation. The
following procedure, based on network flow arguments, can be
used for larger problems:
Drawing the Minimum Number of Lines to Cover All 0’s
1. Mark all rows with no assignments (with a “‧”).
2. For each row just marked, mark each column that has a 0 in
that row (with a “‧”).
3. For each column just marked, mark each row that has an
assignment in that column (with a “‧”).
4. Repeat steps 2 and 3 until no more marks can be made.
5. Draw lines through unmarked rows and marked columns.
Example:
21
Minimum uncovered
number
22
Minimum uncovered
number
23
CONVERSION OF A MAXIMIZATION PROBLEM
TO A MINIMIZATION PROBLEM
Profit Matrix:
J1 J2 J3 J4
W1 67 58 90 55
W2 58 88 89 56
W3 74 99 80 22
(D) 0 0 0 0
24
The lost opportunity matrix given below is derived by
subtracting each number in the J1 column from 74, each
number in the J2 column from 99, each number in the J3
column from 90, and each number in the J4 from 56.
J1 J2 J3 J4
W1 7 41 0 1
W2 16 11 1 0
W3 0 0 10 34
(D) 74 99 90 56
Thank You
25