
8.4 FAST SIMPLEX ALGORITHM FOR THE TRANSPORTATION PROBLEM 225
values of the remaining basic variables. This is especially easy to do by hand if the
calculations are done directly on the rectangular array itself.
To start, enter the symbol θ
∗
in the cell (r, s) to indicate that a value, called
θ = θ
∗
, will be given to the entering nonbasic variable x
rs
. Next, the basic entries
are adjusted so that the row sums and column sums stay unchanged. This requires
appending (+θ) to some entries, (−θ) to others, and leaving the rest unchanged.
Because the basis is triangular, it will always be possible to locate by eye where a
single basic entry is to be converted by an unknown amount +θ or −θ or remain
unchanged. Once the locations where the +θ or −θ adjustments have to be done
have been determined, θ is replaced by x
pq
, the largest numerical value that does
not make a basic entry negative. That is, at iteration t, θ takes on the value x
t
pq
of
the smallest entry to which the symbol (−θ) is appended, so that x
t
pq
− θ becomes
zero. The variable x
pq
is then dropped from the basic set. Any basic variable whose
value is equal to x
t
pq
and which is appended by −θ may be chosen to be dropped
from the basic set. The value of θ so determined is then used to recompute all
the basic entries for the new basic solution x
t+1
. This completes the iteration and
we once again recompute the multipliers and check for optimality and repeat the
process if x = x
t+1
is not optimal.
The eye scanning procedure used above is not efficient for large problems. In-
stead, the tree structure associated with the basis is exploited to efficiently adjust
the basic variables. Such techniques are described for general networks in Chapter 9.
Exercise 8.20 Show that it is not possible to have z →−∞.
8.4.3 ILLUSTRATION OF THE SOLUTION PROCESS
In this section we illustrate the application of the algorithm described on two simple
transportation problems.
Example 8.15 (Hitchock [1941]) This example is the original example due to Hitch-
cock. The optimal solution is found in one iteration. The location and values of an initial
basic feasible solution are circled in Figure 8-13. The values u
i
and v
j
are shown in the
marginal row and column. The θ variables are introduced into the rectangular array.
We see that x
34
leaves the basis and x
32
enters at a value of θ
∗
=5.
Example 8.16 (Solution of the Prototype Example) For the purpose of illustrating
the simplex algorithm on the prototype Example 8.1, we assume that the Least-Remaining-
Cost rule has been applied and that we have obtained the starting basic feasible solution
shown in Example 8.11. The steps of the Simplex Algorithm are illustrated in Figure 8-14.
On iteration 1, the value of u
3
was arbitrarily set equal to 0 because it has the highest
number of basic variables in a row. Then it is obvious that
v
1
= c
31
− u
3
=9,
v
3
= c
33
− u
3
=4,
v
4
= c
34
− u
3
=8.