Professional Documents
Culture Documents
Transportation Model LP
Transportation Model LP
Module 1 - TRANSPORTATION
MODEL AND ITS VARIANTS
TRANSPORTATION
A. The Transportation Algorithm MODEL
B. The Transshipment Model
C. The Assignment Model
a s
ew
The Transportation Model: Characteristics Example 1.
Powerco has three electric power plants that supply the needs
c
■ A product is transported from a number of sources to a number of four cities. See the table for the supply each power plant can
of destinations at the minimum possible cost. produce, and the demand each city needs. The costs of sending
■ Each source is able to supply a fixed number of units of the
product, and each destination has a fixed demand for the
product.
ur
1 unit of electricity from plant to city depend on the distance
the electricity must travel. Formulate an LP to minimize the
cost of meeting each city’s peak power demand.
so
■ The linear programming model has constraints for supply at each To
source and demand at each destination. From City 1 City 2 City 3 City 4 Supply
■ All constraints are equalities in a balanced transportation model Plant 1 8 6 10 9 35
se ia re
co
o.
s
er
is
Let xij = number of (million) kwh produced in plant i and sent to b) For Balanced Transportation Problem:
city j m n
Minimize _ Z Cij X ij
Th
i 1 j 1
a) For Unbalanced Transportation Problem:
Subject to:
m n
Minimize _ Z Cij X ij n
i 1 j 1
ij
Subject to: j 1
sh
n m
X
j 1
ij si i = 1,2,…m (supply constraints) X ij dj j = 1,2,…n (demand constraints)
i
X
i
ij dj j = 1,2,…n (demand constraints) Xij > 0 and integer for all i and j
This study source was downloaded by 100000831700131 from CourseHero.com on 11-05-2021 10:09:42 GMT -05:00
1
10/9/2015
The transportation problem is easiest to solve when arranged Three Common Methods Of Obtaining An Initial
in tabular form. Basic Solution To A Transportation Problem:
The use of the transportation solution technique requires that 1. Northwest Corner Method (NWC)
a) Starting with the northwest most corner, allocate the smaller
the problem be balanced; that is, total supply must equal
amount of either the row supply or the column demand.
total demand. b) Subtract from the row supply and from the column demand the
amount allocated.
If the Total Demand ≠ Total Supply, we have the c) If the column demand is now zero, move to the cell next on the
unbalanced transportation problem. We added either a right; if the row supply is zero, move down the cell in the next
dummy supply or a dummy demand. This is equivalent to row. If both are zero, move first to the next cell on the right, place
0, then down one cell.
adding slack or excess variables in the regular simplex.
d) Once a cell is identified as per step (c), it becomes the new
northwest cell. Allocate an amount as step (a).
e) Repeat the above steps (a) – (d) until all remaining supply and
demand is gone.
a s
ew
To illustrate the NWC Method: (use Powerco example) 2. Minimum Cost Method
Initial Tableau Step 0 Step 1
Choose the cell with the minimum cost (break ties
c
35 35 x
50 50
40
ur 40 arbitrarily), and allocate the amount as per (a) in
45 20 30 30 10 20 30 30
Step 2 Step 3 NWC. Choose the next minimum cost cell, while
35 x 35 x
10 40 10 20 20
abiding by column demand and row supply
so
x 20 30 30
40
x x 30 30
40 constraints. Continue until all remaining supply
35
Step 4
x 35
Step 5
x
and demand is exhausted. This method yields not
10 20 20 x 10 20 20 x only an initial feasible solution but also one that is
se ia re
40 10 30
x x 10 30 x x x 30 close to optimal in small problems. The method is
“heuristic” in nature.
Final Tableau
35 Note:
10 20 20 # entries in table = row + column – 1
m
ur d v y
10 30 COST = $ 1180
Co re tud
co
o.
s
er
S2 | 9 | 12 | 13 | 7 50 S2 | 9 | 12 | 13 x | 7 50
S3 | 14 | 9 | 16 | 5 40 S3 | 14 | 9 | 16 30 | 5 10
45 20 30 30 45 20 30 x by subtracting the smallest unit cost element in the
Step 2 Step 3
D1 D2 D3 D4 D1 D2 D3 D4 row (column) from the next smallest unit cost element
S1 | 8 20 | 6 | 10 x | 9 15 S1 15 | 8 20 | 6 x | 10 x |9 x
in the same row (column).
a
S2 | 9 x | 12 | 13 x | 7 50 S2 | 9 x | 12 | 13 x | 7 50
S3 | 14 x | 9 | 16 30 | 5 10 S3 | 14 x | 9 | 16 30 | 5 10 b) Identify the row or column with the largest penalty.
45 x 30 x 30 x 30 x
sh
This study source was downloaded by 100000831700131 from CourseHero.com on 11-05-2021 10:09:42 GMT -05:00
2
10/9/2015
a s
ew
Note: The number of basic variables (occupied cells or stones) What do you think happens when the problem is a maximization
must be equal to the formula: row + column – 1. If this falls below, instead of a minimization problem?
we have what is called the degenerate tableau. To correct this you
c
can add zero to any unused cell to comply with this requirement. a) Identify the largest value in the tableau and subtract all the other
cell “profits” from that value.
Of the three methods above, the Northwest Corner Method
ur
requires the least effort (but does not consider costs) and VAM
requires the most effort.
b) Then replace the original cell profits with the resulting values.
These values reflect the opportunity costs that would be incurred
by using routes with unit profits that are less than the largest unit
so
profit.
Extensive research has shown, however, that when VAM is used to c) Then solve the tableau in the usual way for the minimum cost
find an initial basic feasible solution (bfs), it usually takes solution.
substantially fewer pivots to find the optimal solution than if the
se ia re
co
o.
s
er
is
A. Stepping-Stone Method
A procedure for solving a transportation problem B. Method of Multipliers or also known as
based on a simplification of the simplex method as Modified Distribution Method (MODI)
a
applied to the constraint structure that defines a The MODI (modified distribution) method allows
transportation problem. It starts with an initial basic improvement indices quickly to be computed for
sh
feasible solution and then evaluates, for every each unused square without drawing all of the
nonbasic variable, whether an improved solution can closed paths.
be obtained by introducing one of the nonbasic
variables into the basis. Because of this, it can often provide considerable
time savings over the stepping-stone method for
solving transportation problems.
This study source was downloaded by 100000831700131 from CourseHero.com on 11-05-2021 10:09:42 GMT -05:00
3
10/9/2015
a s
ew
B. Algorithm Used in the Method of Steps in Using the Method of Multipliers or
Multipliers (Modified Distribution (MODI) MODI
c
Method) 1. Compute the values for each row and column:
1) Use the simplex optimality condition to determine the
entering variable as the current nonbasic variable that
can improve the solution. If the optimality condition
ur set Ui + Vj = Cij for those squares currently used or occupied.
2. After writing all equations, set U1 = 0.
3. Solve the system of equations for Ui and Vj values.
4. Compute the improvement index for each unused square by the
so
is satisfied, stop. Otherwise, go to step 2. formula improvement index:
Cij - Ui – Vj
2) Determine the leaving variable using the simplex 5. If all the improvement indeces computed are greater than or
se ia re
feasibility condition. Change the basis and return to equal to zero, an optimal solution has been reached. Stop
step 1. Otherwise proceed to Step 6.
6. Select the largest negative index (entering variable) and
proceed to solve the problem as you did using the stepping-
m
ur d v y
co
o.
s
er
Important Notes:
From \ To A B C Supply
1 6 8 10
Th
150
degenerate iteration will be followed by a 2 7 11 11
nondegenerate iteration. i.e., a degenerate iteration 175
does not always mean that the whole problem is 3 4 5 12
a
degenerate. 275
sh
This study source was downloaded by 100000831700131 from CourseHero.com on 11-05-2021 10:09:42 GMT -05:00
4
10/9/2015
a s
ew
The Transshipment Model Transshipment Model Example
Characteristics Transshipment Network Routes
■ Extension of the transportation model.
c
■ Intermediate transshipment points are added between the
sources and destinations.
■ Items may be transported from:
ur
Sources through transshipment points to destinations
so
One source to another
One transshipment point to another T1
S1
se ia re
co
o.
s
Example 1:
is
Model Formulation Two automobile plants are linked to three dealers by way of two
distribution centers. According to the network shown below:
Th
This study source was downloaded by 100000831700131 from CourseHero.com on 11-05-2021 10:09:42 GMT -05:00
5
10/9/2015
Nodes 1 and 2 are pure supply nodes; Supply at a transshipment node = Original supply +
Node 7 is a pure demand node; Buffer amount
All remaining nodes (nodes 3, 4, 5, and 6) are
Demand at a transshipment node = Original demand +
transshipment nodes.
Buffer amount
a s
ew
Least Cost Method
c
Node 1 3 4 M M M 3 4 M M M
Node 1 1000
1000 1000
Node 2
Node 3
2
0
5
7
M
8
M
6
ur M
M
1200
Node 2
Node 3
1200
0
2
0
1400
5
7
800
M
8
M
6
M
M
1200
2200
so
B (2200)
M 0 M 4 9
Node 4 M 0 M 4 9 Node 4 2200
800 0 1400
B (2200)
M M 0 5 M
Node 5 M M 0 5 M Node 5
2200
2200
se ia re
B (2200) M M M 0 3
Node 6 M M M 0 3 Node 6 2200
1700 500
B (2200)
11000
Total Total Demand 2200 2200 3000 3100 500
Demand B B 800+B 900+B 500 2200+4B 11000
m
ur d v y
co
o.
s
er
is
v1 = v2 = v3 = v4 = v5 =
v1 = v2 = v3 = v4 = v5 =
-3 4 5 8 11
3 10 11 14 17
3 4 M M M
3 4 M M M
u1 = 0 Node 1 1000 N1N3 = 6
u1 = 0 Node 1 1000 N1N4 = -6 1000
1000 N2N4 = -4
N2N4 = -4
2 5 M M M N3N6 = -5
2 5 M M M N3N6 = -5
u2 = 5 Node 2 1200 N4N7 = 2
u2 = -1 Node 2 1200 N4N7 = 2 1200
1200 N5N6 = 2
N5N6 = 2
0 7 8 6 M
a
0 7 8 6 M
u3 = 3 Node 3 2200
u3 = -3 Node 3 2200 1000 400 800
0 1400 800
M 0 M 4 9
M 0 M 4 9
sh
u4 = -4 Node 4 2200
u4 = -10 Node 4 2200 800 1400
800 1400
M M 0 5 M
M M 0 5 M
u5 = -5 Node 5 2200
u5 = -11 Node 5 2200 2200
2200
M M M 0 3
M M M 0 3
u6 = -8 Node 6 2200
u6 = -14 Node 6 2200 1700 500
1700 500
11000
11000
Total Demand 2200 2200 3000 3100 500
Total Demand 2200 2200 3000 3100 500
11000
11000
This study source was downloaded by 100000831700131 from CourseHero.com on 11-05-2021 10:09:42 GMT -05:00
6
10/9/2015
2 4 10 8 11
3 4 M M M
Optimal Transshipment Network
u1 = 0 Node 1 1000 N1N3 = 1
1000
N2N4 = 1
2 5 M M M N3N4 = 5
u2 = 0 Node 2 1200 N4N7 = 2 800
1200
N5N6 = 7 5
u3 = -2 Node 3
0 7 8 6 M
2200 OPTIMAL
800
1000 800 400
SOLUTION
M 0 M 4 9 1000
u4 = -4 Node 4
1200 1000
2200
1 3
M M 0 5 M 1000 400
u5 = -10 Node 5
2200
2200 900
M M M 0 3
6
u6 = -8 Node 6 2200
1700 500
11000 500
Total Demand 2200 2200 3000 3100 500 1200 1200 1000
11000
2 4
Total Cost = 20700
500
7
ALLOCATION:
FROM TO QTY COST
Node 1 Node 4 1000 4000
Node 2 Node 3 1200 2400
Node 3 Node 5 800 6400
Node 3 Node 6 400 2400
Node 4 Node 6 1000 4000
Node 6 Node 7 500 1500
Total 20700
a s
ew
An assignment problem is a special form of the Transportation
Problem where the supply at each source and the demand at each
destination are each limited to one unit.
c
ASSIGNMENT MODEL
ur The general assignment model with n workers and n jobs is
represented below:
Jobs
so
1 2 ... n
Total
Supply
1 1
se ia re
2 1
Workers
... 1
n 1
m Total
ur d v y
1 1 1 1
Demand
Co re tud
co
o.
s
er
is
The assignment model is actually a special case of the Requirements in Solving Assignment Problems
transportation model in which the workers represent the
sources, and the jobs represent the destinations. The
Th
representing the prohibited route. This same method is used for the
assignment problem. A value of M is placed in the cell representing the
transportation model. Nevertheless, the fact that all the prohibited assignment.
supply and demand amounts equal 1 has led to the
development of a simple solution algorithm called the 3) For maximization, the easiest technique is to put a (–) on all the values,
and proceed as for minimization. Remember that you cannot make
Hungarian method. Although the new method appears assignments unless the you have a zero entry. Or you can proceed as the
totally unrelated to the transportation model, the algorithm maximization in the transportation problem (finding the largest value and
subtracting all from this).
is actually rooted in the simplex method, just as the
transportation model is.
This study source was downloaded by 100000831700131 from CourseHero.com on 11-05-2021 10:09:42 GMT -05:00
7
10/9/2015
Step 3. Identify the optimal solutions as the feasible Step 6. If no feasible assignment can be found among
assignment associated with the zero elements of the resulting zero entries, repeat step 4.
the matrix obtained in Step 2. Otherwise, go to step 3 to determine the optimal
assignment.
a s
ew
Example: Column Reduction:
The National Athletic Association of the Philippines (NAAP) has four basketball
games on a particular night. The conference office wants to assign 4 teams of Table 1 Game Sites
c
officials to the 4 games in a way that will minimize the total distance traveled by Officials Baguio Pampanga Pangasinan Quezon
the officials. The distances (in km.) are shown below: A 120 0 90 70
Officials
A
Baguio
210
Game Sites
Pampanga Pangasinan
90 180
Quezon
160
ur B
C
D
30
70
( 15 )
0
0
0
60
( 35 )
40
130
65
( 55 )
so
B 100 70 130 200
C 175 105 140 170
D 80 65 105 120 Table 2 Game Sites
Row Reduction: Officials Baguio Pampanga Pangasinan Quezon
se ia re
co
o.
s
er
is
A 105 0 55 ( 15 )
B ( 15 ) 0 25 75 Team A to Pam panga 90 Team A to Quezon 160
C 55 0 0 10
D 0 0 5 0 Team B to Baguio 100 Team B to Pampanga 70
a
This study source was downloaded by 100000831700131 from CourseHero.com on 11-05-2021 10:09:42 GMT -05:00