The Transportation Model - Formulations
The Transportation Model - Formulations
Formulations
We assume that there are m sources 1,2, , m and n destinations 1, 2, , n. The cost of shipping one unit from Source i to Destination j is cij. We assume that the availability at source i is ai (i=1, 2, , m) and the demand at the destination j is bj (j=1, 2, , n). We make an important assumption: the problem is a balanced one. That is
a b
i 1 i j 1
We can always meet this condition by introducing a dummy source (if the total demand is more than the total supply) or a dummy destination (if the total supply is more than the total demand).
Let xij be the amount of commodity to be shipped from the source i to the destination j.
z
i 1
c
j 1
ij
xij
x
j 1 m
ij
ai (i 1,2,...,m) b j ( j 1,2,...,n)
x
i 1
ij
xij 0
Thus there are mn decision variables xij and m+n constraints. Since the sum of the first m constraints equals the sum of the last n constraints (because the problem is a balanced one), one of the constraints is redundant and we can show that the other m+n-1 constraints are LI. Thus any BFS will have only m+n-1 nonzero variables.
Though we can solve the above LPP by Simplex method, we solve it by a special algorithm called the transportation algorithm. We present the data in an mn tableau as explained below.
1
S o u r c e 1
c11 c21
Destination 2 .
c12 c22
n
c1n c2n
Supply
a1 a2
2
.
.
m
cm1 cm2 cmn
am
Demand
b1
b2
bn
Formulate the transportation Model. Since the total demand = 3700 > 3500 (Total supply) we introduce a dummy supply with availability 3700-3500=200 units to make the problem a balanced one. If a destination receives u units from the dummy source, it means that that destination gets u units less than what it demanded. We usually put the cost per unit of transporting from a dummy source as zero (unless some restrictions are there). Thus we get the transportation tableau
Destination
Denver Miami Supply
80 215
S o u r c e
1000 1300
100
102
108
68
1200 200
Demand 2300
1400
We write inside the (i,j) cell the amount to be shipped from source i to destination j. A blank inside a cell indicates no amount was shipped.
Destination
Denver Miami Supply
80 M
S o u r c e
100
102 200
108
68 300
Demand 2300
1400
Distribution Area 1 2 3
1 Refinery 2 3 120 300 200 180 100 250 80 120
Supply 6 5 8
Refinery 2
3 Demand
30
20
10
25
8
12
The problem is a balanced one. M indicates a very "big" positive number. The total cost will be 1000*
c
i 1 j 1
ij
xij
S o 1 u r Refinery 2 c 3 e
Demand
1
12 30 20
6 5 8 3
M indicates a very "big" positive number. The total cost will be 1000*
c
i 1 j 1
ij
xij
1 Orchard 2 3
1 1 2 1
Retailer 2 3 2 3 4 1 3 5
4 2 2 3
Formulate the problem as a transportation model. Since the orchards 1, 2 can supply more crates with overtime labor, we increase their capacities to 150+200=350 and 200+200=400 respectively (as initially the total supply fell short by 200). But then to balance the problem we add a dummy destination. The tableau follows.
S o u r c e
Destination Retailer
Dummy Supply 0
350
400 250
0 M
200
Problem 8.1-9 from Hillier and Lieberman (Introduction to Operations Research, 7th Edition)
The Build-Em-Fast Company has agreed to supply its best customer with three widgets during each of the next 3 weeks, even though producing them will require some overtime work. The relevant production data are as follows:
Week 1 2 3 Max Production Max Production Prod Cost / unit Regular Time Overtime Regular Time 2 3 1 2 2 2 $300 $500 $400
The cost / unit produced overtime for each week is $100 more than for regular time. The cost of storage is $50 / unit for each week it is stored. There is already an inventory of 2 widgets on hand currently, but the company does not want to retain any widgets in inventory after the 3 weeks. Formulate the problem as a transportation problem. There are 6 sources namely widgets produced regular time and overtime for the three weeks. Also there are 3 destinations viz. demand for the three weeks.
We let xij as the number of units produced regular time in week (i+1)/2 for use in week j (i=1,3,5; j=1,2,3). We let xij as the number of units produced overtime in week i/2 for use in week j (i=2,4,6; j=1,2,3). Thus
x21 x22 x23 2 x31 x32 x33 3 x41 x42 x43 2 x51 x52 x53 1 x61 x62 x63 2
To make these equalities we add a dummy destination and let xi4 as the amount transported from Source i to this dummy. Thus the availabilities at the 6 sources are 2,2,3,2,1,2 respectively. The demands at the three destinations (=demand for the three weeks) are 1,3,3 respectively (as the initial inventory is 2 widgets).
To make the problem balanced we add demand 12 7 = 5 at the dummy destination.
Destination
400 500 550 650 400 500 0 0 0 0 0 0
1 2 3 4 5 6
300 400 M M M M
2 2 3 2 1 2 5
Demand