Transportation, Transshipment and Assignment Models
Transportation, Transshipment and Assignment Models
j = A (for Albuquerque),
B (for Boston), or
C (for Cleveland).
Transportation Model Example 1
Executive Furniture Corporation: Supply Constraints
Net flow at Des Moines = (Total flow in) - (Total flow out)
= (0) - (XDA + XDB + XDC)
Net flow at Des Moines =
-XDA - XDB - XDC = -100 (Des Moines capacity) and
-XEA - XEB - XEC = -300 (Evansville capacity)
-XFA - XFB - XFC = -300 (Fort Lauderdale capacity)
Multiply each constraint by -1 and rewrite as:
XDA + XDB + XDC = 100 (Des Moines capacity)
XEA + XEB + XEC = 300 (Evansville capacity)
XFA + XFB + XFC = 300 (Fort Lauderdale capacity)
Transportation Model Example 1
To
From Boston Richmond Atlanta St. Louis Supply
Cleveland $35 30 40 32 1200
Detroit 37 40 42 25 1000
Greensboro 40 15 20 28 800
Demand 1100 400 750 750
• Assumptions
– Unit shipping cost is constant.
– All the shipping occurs simultaneously.
– The only transportation considered is between
sources and destinations.
– Total supply equals total demand.
NETWORK
REPRESENTATION Destinations
Sources Boston
D1=1100
Cleveland
S1=1200 Richmond
D2=400
Detroit
S2=1000 Atlanta
D3=750
Greensboro St.Louis
S3= 800
D4=750
• The Mathematical Model
– Decision variables
Xij = amount shipped from source i to destination j.
where: i=1 (Cleveland), 2 (Detroit), 3 (Greensboro)
j=1 (Boston), 2 (Richmond), 3 (Atlanta), 4(St.Louis)
Supply from Cleveland X11+X12+X13+X14 = 1200
The supply constraints
Supply from Detroit X21+X22+X23+X24 = 1000
Boston
Supply from Greensboro X31+X32+X33+X34 = 800
D1=1100
X11
Cleveland
X12
S1=1200 X31
X21
X13 Richmond
X14
D2=400
X22
X32
Detroit
S2=1000 X23
Atlanta
D3=750
X24 X33
Greensboro St.Louis
S3= 800 X34
D4=750
• The complete mathematical model
Supply constrraints:
X11+ X12+ X13+ X14 = 1200
X21+ X22+ X23+ X24 = 1000
X31+ X32+ X33+ X34 = 800
Demand constraints:
X11+ X21+ X31 = 1000
X12+ X22+ X32 = 400
X13+ X23+ X33 = 750
X14+ X24+ X34 = 750
UNIT COSTS
BOSTON RICHMOND ATLANTA ST.LOUIS SUPPLIES
CLEVELAND $ 35.00 $ 30.00 $ 40.00 $ 32.00 1200
DETROIT $ 37.00 $ 40.00 $ 42.00 $ 25.00 1000
GREENSBORO $ 40.00 $ 15.00 $ 20.00 $ 28.00 800
SHIPMENTS (CASES)
BOSTON RICHMOND ATLANTA ST.LOUIS TOTAL
CLEVELAND 850 350 0 0 1200
DETROIT 250 0 0 750 1000
GREENSBORO 0 50 750 0 800
Shadow prices for warehouses - the cost incurred from having 1 extra case of vaccine
demanded at the warehouse
Interpreting sensitivity analysis results
– Reduced costs
• The amount of transportation cost reduction per unit that
makes a given route economically attractive.
• If the route is forced to be used under the current cost
structure, for each item shipped along it, the total cost
increases by an amount equal to the reduced cost.
– Shadow prices
• For the plants, shadow prices convey the cost savings
realized for each extra case of vaccine available at plant.
• For the warehouses, shadow prices convey the cost
incurred from having an extra case demanded at the
warehouse.
Transportation Model- Example 4
Montpelier Ski Company: Using a Transportation model for
production scheduling
Aug. 0
600
800 26 +M Aug.
R/T
Demand
26.78 +M +M
32
Aug. 0
400 Sept. 2200
O/T 32.96
29 37
0
400 Sept.
R/T
0 Dummy
0 300
200 Sept.
O/T
Source: July production in R/T Source: Aug. production in O/T
Destination: July‘s demand. Destination: Sept.’s demand
Unit cost= $25 (production) 32+(.03)(32)=$32.96
Unit cost =Production+one month holding cost
• Summary of the optimal solution
– In July produce at capacity (1000 pairs in R/T, and 500 pairs in
O/T). Store 1500-200 = 1300 at the end of July.
– In August, produce 800 pairs in R/T, and 300 in O/T. Store
additional 800 + 300 - 600 = 500 pairs.
– In September, produce 400 pairs (clearly in R/T). With 1000
pairs
retail demand, there will be
(1300 + 500) + 400 - 1000 = 1200 pairs available for shipment
Construction site
Plant A B C Supply (tons)
1 $ 8 $ 5 $ 6 120
2 15 10 12 80
3 3 9 10 80
Demand (tons) 150 70 100
Transportation Example 5: Formulation
Stores
Warehouses 6. Chicago 7. St. Louis 8. Cincinnati
3. Kansas $6 8 10
4. Omaha 7 11 11
5. Des Moines 4 5 12
Transshipment Model Example 2
Problem Definition and Data
Transshipment Model Example 2
Model Formulation
Minimize Z = $16x13 + 10x14 + 12x15 + 15x23 + 14x24 +
17x25 + 6x36 + 8x37 + 10x38 + 7x46 + 11x47 +
11x48 + 4x56 + 5x57 + x58
subject to:
x13 + x14 + x15 = 300
x23+ x24 + x25 = 300
x36 + x46 + x56 = 200
x37+ x47 + x57 = 100
x38 + x48 + x58 = 300
x13 + x23 - x36 - x37 - x38 = 0
x14 + x24 - x46 - x47 - x48 = 0
x15 + x25 - x56 - x57 - x58 = 0
xij 0
Assignment Model
The Assignment Model
Problem definition
– m workers are to be assigned to m jobs
– A unit cost (or profit) Cij is associated with
worker i performing job j.
– Minimize the total cost (or maximize the total
profit) of assigning workers to jobs so that each
worker is assigned a job, and each job is
performed.
The Assignment Model
Characteristics
It is a special form of linear programming models
similar to the transportation model.
Supply at each source and demand at each destination is
limited to one unit.
In a balanced model supply equals demand.
In an unbalanced model supply is not equal to demand.
The Assignment Model Assumptions
– The number of workers is equal to the number of jobs.
– Given a balanced problem, each worker is assigned
exactly once, and each job is performed by exactly one
worker.
– For an unbalanced problem “dummy” workers (in case
there are more jobs than workers), or “dummy” jobs
(in case there are more workers than jobs) are added to
balance the problem.
Assignment Model Example 1
Fix-It Shop Example
Formulate LP model -
Xij = “Flow” on arc from node denoting worker i to node denoting
project j.
Solution value will equal 1 if worker i is assigned to project j :
i = A (for Adams), B (for Brown), or C (for Cooper)
j = 1 (for project 1), 2 (for project 2), or 3 (for project 3)
S2=1 2 B D2=1
S3=1 3 C D3=1
S4=1 4 D D4=1
S5=1 5 E D5=1
• Computer solutions
– A complete enumeration is not efficient even
for moderately large problems (with m=8, m! >
40,000 is the number of assignments to
enumerate).
– The Hungarian method provides an efficient
solution procedure.
• Special cases
– A worker is unable to perform a particular job.
– A worker can be assigned to more than one job.
– A maximization assignment problem.
Assignment Model Example 3
Problem Definition and Data
Problem: Assign four teams of officials to four games in a way
that will minimize total distance traveled by the officials. Supply
is always one team of officials, demand is for only one team of
officials at each game.
Data:
Assignment Model Example 3
Model Formulation
Minimize Z = 210xAR + 90xAA + 180xAD + 160xAC + 100xBR +
70xBA + 130xBD + 200xBC + 175xCR + 105xCA +
140xCD + 170xCC + 80xDR + 65xDA + 105xDD +
120xDC
subject to:
xAR + xAA + xAD + xAC = 1 xij 0
xBR + xBA + xBD + xBC = 1
xCR + xCA + xCD + xCC = 1
xDR + xDA + xDD + xDC = 1
xAR + xBR + xCR + xDR = 1
xAA + xBA + xCA + xDA = 1
xAD + xBD + xCD + xDD = 1
xAC + xBC + xCC + xDC = 1
Summary