Professional Documents
Culture Documents
Ge330fall09 Transpalg l15 PDF
Ge330fall09 Transpalg l15 PDF
Transportation Algorithm
Outline
Simplex Method
Having the initial table (with initial basic feasible solution), we perform the
typical simplex iteration
Step 1 Reduced Cost Computation
Compute the reduced costs of the nonbasic variables
We do not have Basis Inverse, so we have to rely on the dual problem and
the fact that the reduced costs of the basic variables are zero
We use shadow prices - hence, we need to look at the dual of the
transportation problem
m X
X n
minimize cij xij
i=1 j=1
Xn
subject to xij = bi for i = 1, . . . , m (ui)
j=1
Xm
xij = dj for j = 1, . . . , n (vj)
i=1
m
X n
X
maximize biui + dj vj
i=1 j=1
cij = ui + vj cij
where cij is the original cost of the variable xij as given in the objective
of the transportatation problem
1. Determining the shadow prices from cij = 0 for currently basic variables
(with u1 = 0)
x11 u1 + v1 = 10 & u1 = 0 v1 = 10
x12 u1 + v 2 = 2 u1 = 0 v2 = 2
x22 u2 + v 2 = 7 v2 = 2 u2 = 5
x23 u2 + v 3 = 9 u2 = 5 v3 = 4
x24 u2 + v4 = 20 u2 = 5 v4 = 15
x34 u3 + v4 = 18 v4 = 15 u3 = 3
2. Using the shadow prices, compute the reduced costs cij for nonbasic
variables
cij = ui + vj cij
x13 c13 = 16
x14 c14 =4
x21 c21 =3
x31 c31 =9
x32 c32 = 9
x33 c33 = 9
Simplex Method
Having the initial table (with initial basic feasible solution), we perform the
typical simplex iteration
Step 1 Reduced Cost Computation (DONE)
Compute the reduced costs of the nonbasic variables
Step 3 Basis Change (We are HERE, x31 enters the basis)
If not optimal, we perform change of basis and update the table
Figure 2: x31 entering the current basis. Flow push along a cycle
formed by arcs of the old solution and the new arc (3,1) of the
variable entering the basis
The maximum flow that can be send along the cycle cannot exceed the
amount of the flow on the backward traversed arcs (corresponds to removal
of the existing flow on these arcs):
5 0, 5 0, 10 0 = =5
Figure 4: The resulting table after sending 5 units of flow along the
cycle. There are two variables that can leave the basis: those whose
flow dropped to 0. Thus, either x11 or x22 may leave the basis.
Suppose we choose x11 to leave.
Figure 5: The resulting basic feasible solution after x11 left the basis.