Professional Documents
Culture Documents
Transport a commodity from several sources to several destinations. No. of sources : m, No. of destinations : n Fixed supply at each source : si Fixed demand at each destination : dj Unit cost of transportation from source i to destination j : cij (different for each pair) cij
si
dj
LP Formulation
Decision Variables: xij : Quantity shipped from source i to destination j. Z = cij.xij j xij = si i = 1...m i xij = dj j = 1...n xij 0 Although an LP, this problem has a very special structure. A-matrix has only values 0 and 1. x11 x12 x13 Each column has only two ones. Has a block diagonal structure. 1 1 1 Minimize subject to:
0 1 0 0
0 0 1 0
0 0 0 1
1 1 0 0
1 0 1 0
1 0 0 1
x12 x22
8 7
x21
20 26
2 12 6 20 6 18 20
40 Reduced cost of basic variables is zero. 35 u1 = 60 cij = cij (ui+vj) = 0 50 u1 = 75 For basic variable, we must have ui+vj = cij We have m+n unknowns and m+n-1 equations. ( ref Lec 5, slide 1) Value of one unknown can be arbitrarily decided. Let v1 = 0, and compute u1. Given u1, v2 can be computed, and so on.
v1 = 0
v2 = -20
55
v2 = -25
55
5
60
u1 = 75 u1 = 60
0 -45
40
75
35 20 50
cij
30
u1 = 75
xij
10
+ -
75
v1 = 0 v2 = -20 v3 = -25 55 u1 = 75
40 35
+ 6 12 - 20
u1 = 60 u1 = 75
-45 30
50
cij
Solution is balanced if values are increased/decreased by a fixed amount d for each cell. Cells with decreasing value are called Donor Cells.
10
+ -
2 12
12 2 16 10
+ 6 - 20
10
How much can we increase the value of non-basic variable? All variables must remain non-negative. Value is decreasing for donor cells. d cannot be greater than the value in any donor cell. Find the donor cell with smallest value of xij. This donor cell is the out-going basic variable. Increase/Decrease values by this amount. New Basic Feasible solution. Z has decreased by d.cij. Continue until optimal, i.e. cij > 0 for all non-basic variables.