Abadnetwork Problemfor Thesimplexmethod: Mathematical Programming 5 (19 73) 255-266. North-Holland Publishing Company
Abadnetwork Problemfor Thesimplexmethod: Mathematical Programming 5 (19 73) 255-266. North-Holland Publishing Company
Norman ZADEH
IBM Thomas J. Watson Research Center
Yorktown Heights, New York, U.S.A.
0. Introduction
I The "Cycle" m e t h o d as presented in Klein [8] augments around some negative cycle at each
iteration, because the m o s t negative one m a y be very difficult to compute. We choose a m o s t
negative one and still show that the m e t h o d is theoretically n o t "good".
256 N. Zadeh
1. A review of the minimum cost flow problem and algorithms for its
solution
Path[l]
Fig. la. An ex amp le of a m i n i m u m cost flow problem; a typical m i n i m u m cost flow problem:
send 2 units of flow from s to t at m i n i m u m cost. An arc w i t h o u t an arrow means t ha t the flow
may go in either direction.
M-Path [3,9]
Cycle [8]
As mentioned earlier, Cycle starts with the desired level of s-t flow
distributed in a feasible, but not necessarily optimal fashion, and finds
an optimal solution by augmenting about a sequence of most negative
cycles.
When Cycle is applied to the network N, it begins by generating a
feasible flow using a m a x i m u m flow computation. One such feasible
flow, f2, is obtained by sending 2 units of flow along s 1 2 t. The
augmentation network N h is shown in Fig. 1c. Starting with fz, Cycle
258 N. Zadeh
2
N f~
Fig. lb. The augmentation network resulting after 1 unit o f flow has been sent along s 2 1 t,
resulting in a flow f l .
would augment around the cycles s 2 1 s and t 2 1 t in some order. This
would yield the optimal solution.
Primal Dual [4 ]
Simplex [ 2 ]
2
Nf2
Fig. lc. The augmentation network resulting after 2 units of flow have been sent along s 1 2 t,
resulting in a flow f2. Observe the negative cycles s 2 1 s and t 2 1 t, both of cost - 3 .
A bad n e t w o r k problem 259
U _ _ ~/
s3 t3
Fig. 2. A ' t r e e of basic arcs. The particular basis shown above might be encountered if the
Simplexmethod were applied to N s, the bad network shown in Fig. 5. Only arcs with positive
flows are shown, e.g., (u, v) has a flow of 8. Sl,S2, and s a are sources; t b t 2 and t 3 are sinks.
cycle have their flows reduced to zero (become non-basic). In order for
the basis to remain non-degenerate, exactly one basic arc must become
non-basic at each iteration. A pivot operation corresponds to an aug-
mentation about a cycle. If the most negative augmenting cycle at each
stage contains exactly one non-basic arc, then the Simplex and Cycle
methods will perform the same sequence of cyclic augmentations. In the
sequence of bad networks which we construct, both methods perform
the same sequence of cyclic augmentations, and the bases for the Sim-
plex method remain non-degenerate.
2. Bad networks
The bad networks for Path, M-Path, Primal Dual, Cycle and Simplex
are defined recursively. It can be shown that Path and Primal Dual may
be made to perform the same sequence of augmentations as M-Path.
Therefore, to show that all three methods are "bad", if it suffices to
show that M-Path is "bad". The first three bad networks for M-Path and
Cycle are shown in Fig. 3. In general, Nn, the network with 2n + 2
260 N. Zadeh
nodes which is bad for M-Path and Cycle, may be found by using the
construction shown in Fig. 4. For example, N 4 consists of all the
arcs in Fig. 4 which are connected between pairs of nodes in the set
{s, 1,2,3,4,!,2,3,_4,t ).
Given that Nn is bad for M-Path, it follows that Nn is also bad for
Cycle. To see this, it suffices to examine N 3. Suppose, we start Cycle
off by making the mistake of sending nine units o f flow along the
exceedingly expensive arc (s,t). With this starting solution, the most
negative augmenting cycle at each iteration will contain the arc (t,s),
and in fact, will equal (t,s) u {a cheapest augmenting path from s to t}.
Consequently, if M-Path augments over the sequence of paths P] ..... P/,
then Cycle, when started with nine units of flow in (s,t), will augment
about the sequence o f cycles P1 u (t,s),..., P~ u (t,s).
(I),~
p~,s'
pJ •
cost is OsI capacity is ~ cost is 0 ~
capacit~as shown cost as shown capacity as ~ o w n
I I
N I
aD,~
2 2_
N2
~,(Z)
N3
Fig. 3. Three bad networks for M-Path and Cycle. The dotted arc is not needed for M-Path.
More complicated networks may be obtained by using the construction shown in Fig. 4.
A bad network problem 261
s I_ 2 --~
\ ~ :,'. .',::.~-, /
' ,'N /
costs 15 - l
, /
j ~. i 1
costs 2j-I - 1 "
Fig. 4. The construction of networks with 2n + 2 nodes which require 2 n + 2 n - 2 - 2 augmenta-
tions using M-Path or Cycle. The darkened arcs represent N4, the n e t w o r k for 24 + 2 2 - 2
augmentations. N 5 is obtained by adding the finely d o t t e d arcs to N 4.
B a d e x a m p l e s f o r the S i m p l e x m e t h o d
$
N3
Fig. 5a. Getting a bad network for the Simplex method from a bad network for M-Path. The
flows out o f s b s2 and s 3 must be 1, 3 and 5, respectively; the flows into tl, t : and t3 must be
2, 2 and 5, respectively.
fig. 5b. An example of a bad, non-degenerate, basic feasible initial solution f for the Simplex
method.
If we can show that Nn is bad for M-Path, it will follow that it is bad
for Cycle. We can then conclude that Nns will be bad for Simplex,
provided that the augmentations performed by Cycle on Nn correspond
to Simplex pivots.
Rather than actually prove that M-Path will require 2 n + 2 n - 2 _ 2
augmentations when applied to Nn, we will instead present the se-
quence of augmentations for N3, and then discuss the basic idea behind
a proof. In the process, we will indicate why the augmentations per-
formed b y Cycle correspond to non-degenerate Simplex pivots. The
reader who is interested in a formal p r o o f is referred to [12].
In the following, it will often be convenient to delete the word
augmentation, i.e., we may just say "P/" instead of "the augmentation
Pj" or "the augmentation over path Pi""
A bad network problem 263
P2 I
P3 2
P4 3
3
P5 3
• 2 ..---'2
3 3.
P6 4 I
3
P-r 5
3 3
P8 6
3 _3
Fig. 6. T h e s e q u e n c e o f a u g m e n t a t i o n s w h i c h o c c u r w h e n M - P a t h is a p p l i e d t o N 3. S a t u r a t e d
a r c s are d o t t e d .
264 N. Zadeh
4. Outline of proof
The next step is to argue that s k k+l t and s k+l k t will be per-
formed after PNk" The substance of the argument is that s k k+l t and
s k+l k t contain only one costly arc connected to either nodes k+l or
k+_A1,whereas all their competitors contain two.
Finally, w e v e r i f y that the sequence s k+l PNk k+___llt, s k+l PNk
k+l t .... ,sk+l P1 k + l t will be performed in that order a f t e r s k+l k t.
We know t h a t s k+l PNk k+l t i s cheaper t h a n s k+l PNk --1 k+l t, etc.
because of observation (viii). Therefore, the burden of the p r o o f is to
show that (a) we can perform the sequence of augmentations s k+l PNk
k+l t,...,sk+l P1 k+l t, and that (b) no cheaper augmenting paths get
in the way at any point. This is a somewhat tedious argument which
requires an inductive assumption a s to what the flows after PNk are.
Once it is verified that s k + 1 PNk k + 1 t ..... s k + 1 P1 k + 1 t are performed,
then the inductive assumption concerning the flows after PNk+I is
stfown to be satisfied. This ends the proof.
Acknowledgment
The author would like to thank Professor I. Adler for his helpful
comments.
This work represents part of a Ph.D. thesis done under the direction
of Professor R.M. Karp.
References
[1] R.G. Busacker and P.J. Gowen, "A procedure for determining a family of minimal-cost
network flow patterns", Operations Research Office, The Johns Hopkins University, Bal-
timore, Md., No. ORO 15 (1961).
[2] G.B. Dantzig. Linear programming and extensions (Princeton University Press, Princeton,
N.J., 1962).
[3] J. Edmonds and R.M. Karp, "Theoretical improvements in algorithmic efficiency for
network flow problems", Journal of th e Association for Compu ring Machinery 19 (1972)
248-264.
[4] L. Ford and D.R. Fulkerson, "A primal dual algorithm for the capacitated Hitchcock
problem", Naval Research Logistics Quarterly 4 (1957) 47-54.
[5] L. Ford and D.R. Fulkerson, flows in networks (Princeton University Press, Princeton,
N.J., 1962).
[6] T.C. Hu, Integer programming and network flows (Addison-Wesley, Reading, Mass.,
1969).
[7] V.L. Klee and G.J. Minty, "How good is the simplex algorithm", Boeing Math. Note No.
643 (February 1970).
[8} M. Klein, "A primal method for minimal cost flows", Management Science 14 (1967)
205-220.
[9] N. Tomizawa, "On some techniques useful for solution of transportation network prob-
lems", Networks 1 (1972) 173-194.
266 N. Zadeh
[ 10] H.M. Wagner, "On a class of capacitated transportation problems", Management Science 5
(1959) 304-318.
[ 11] N. Zadeh, "Theoretical efficiency of the Edmonds-Karp algorithm for computing maxi-
mal flows", Journal of the Association for Computing Machinery 19 (1972) 184-192.
[12] N. Zadeh, "Theoretical efficiency and partial equivalence of minimum cost flow al-
gorithms: A bad network problem for the simplex method", Operations Research Center,
University of California, Berkeley, Calif., No. ORC 72-7 (1972).
[13] N. Zadeh, "More pathological examples for network flow problems", Mathematical pro-
gramming 5 (1973) 217-224.