Professional Documents
Culture Documents
M N S D I J C: (Different For Each Pair)
M N S D I J C: (Different For Each Pair)
Transport a commodity from several sources to several destinations. No. of sources : m, No. of destinations : n
LP Formulation
Decision Variables: xij : Quantity shipped from source i to destination j. Minimize subject to: Z = cij.xij j xij = si i xij = dj xij 0 Although an LP, this problem has a very special structure. i = 1...m j = 1...n
cij si dj
0 1 0 0
0 0 1 0
0 0 0 1
1 1 0 0
1 0 1 0
1 0 0 1
x1 + x2 + x3 = 3
2x1 + x2 + 2x3 = 5 How many basic variable? m+n? Are all constraints independent? 3x1 + 2x2 + 3x3 = 8 If we ignore any one constraint, it will automatically be satisfied if the rest are satisfied. d1=5 d2=10 No. of basic variables = m+n-1
x11 How to get a basic feasible solution?
All constraints must be satisfied. No more than m+n-1 variables should be non-zero.
North West Corner Rule. Vogels Approximation Method.
x21
20 26
2 12 6 20 6 18 20
10
0 -45
55
55 5
35 50
u1 = 75 u2 = 60
40 12 75 20
6
20
u3 = 75
14
2
26
12
12
6
20
18
20
xij
10
+ -
2
12
v1 = 0 v2 = -20 v3 = -25 75 55 u1 = 75
+ 6 - 20
40 30
-45
35 50
u1 = 60 u1 = 75
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.
Transportation Problem
The basic solution of a transportation problem is given below. The cij values are given in the top left corner of each cell, and the xij values in the bottom right corner. 1.Find the dual solution in which u4 = 0. 2.Compute the reduced cost of variable x22. 3.Is the current solution optimal? Why or why not? 4.Find the unique cycle of donor/recipient cells starting/ending with variable x22. 5.If this cycle is used to perform a pivot, what will be the new value of x22? 6.What will be the reduction/increase in Z value after the pivot?
5 8 11 13 7 5 11
3 4 8 9 6
2 5 2 5 3
7 6 9 7 12 4
9 12 12 10 4
Transportation Problem
The basic solution of a transportation problem is given below. The cij values are given in the top left corner of each cell, and the xij values in the bottom right corner. 1.Find the dual solution in which u4 = 0.
5 5 8 3
11 -8 2
12 7 -5 -12 9
9 12 0 6 -3 0
-3
-6 5
11
-13 + 7 8 2 5 -9
5
4 -13
6
9
12
10
-3
4
+7
+11
-5
-3
12
-4
-5
5
8 11 13
3
4
2
5
7
6
9
12 12
7
5 11
8
9 6
2
5 3
9
7 12 4
10
4