Professional Documents
Culture Documents
Norman ZADEH
LB.M. Research, Yorktown Heights, N.Y., U.S.A.
Two examples are presented. The first example is "bad" for a large subset of the "primal"
minimum cost flow algorithms, namely those algorithms which start with the required amount
of s - t flow distributed in a feasible, but nonoptimal manner, and which get optimal by send-
ing flow about negative cycles. In particular, the example is bad for the "primal" method which
always sends flow about a cycle which yields the largest decrease in the objective function.
The second example requires O(n 3) flow augmentations using tie-breaking variants of either
the Edmonds-Karp shortest path or fewest reverse arcs in path maximum flow algorithms. This
example implies that it is not possible to substantially improve the performance (in a worst case
sense) of either algorithm by resolving ties.
1. Introduction
k / ~- I \ / I~u ~. k
k \
Z F
j=i 6L
2k
I Z F
6j-I
3=i ,
F k E F
j=l 63-2 F6k+l 2 F +i j=l 6j-4
j=1 33
t t s
Fig. 1. A bad network for the cycle* method. The capacities in the network are functions of k,
which may be chosen to be arbitrarily large. When started with the right initial flow, the cycle*
method will require 6k + 1 cyclic augmentations.
Table 1
Sequence of augmentations for Fig. 1.
Noncyclic augmentations which generate the initial feasible, but nonoptimal flow
st 0 0 0 + 4"~/-6k1+1F/
s3 1t 0 0 0 + 1 .~,lkl Fa/
s52t 0 F6k+2 0 0
s4 1t 0 F6k+2 F6k+l 0
Repeats
A line above two nodes, e.g. s 3, stands for the upper path between s and 3 . A line below, e.g.
s3, stands for the lower path.
of flow. The flow value is determined by the flow in arc (4, 1) prior to
the augmentation. The key arcs are traversed in such a fashion that arcs
(5, 2) and (4, 1) have their flows decreased by F6k+l while (6, 3) has its
flow increased by F6k+l. The resulting flows on the key arcs are shown
in Table 1 and also in Fig. 2.
More pathological examples for network flow problems 221
F6K*2
o 6
F6K+I
6 ~
Arcs in Cycle
(Direction of Flowin Key Arcs Flow in Key Arcs
is Indicoted by Arrows) After Augmentation
® ®
CYCLE FLOW COST*
F6K
I(4) F6K+I (F6K-2) - 5 s - - -. -' + ; b
0
C~- g
F6K. I
® ®
2(5) -5 .= t 0
F6K (F6K-3)
0 ~ ( ~ F6K
6" b
REPEATS F6K-2 .
Fig. 2. An alternative view of the sequence of augmentations starting from the initial feasible
flow. * Cost of sending one unit of flow about cycle. °
222 N. Zadeh
The process proceeds in much the same fashion. The next augmenta-
tion is over cycle 2. Its flow value of F6~ is determined by the flow in
arc (5, 2) prior to the augmentation. The key arcs are traversed as indi-
cated in Fig. 2. The resulting flows are shown in Table 1 and also in
Fig. 2.
The "last" augmentation is over cycle 3. Its flow value o f F6k_l is
determined by the flow in arc (6, 3) prior to the augmentation. After
this augmentation, the process essentially repeats, except that lower
paths instead of upper paths are used.
In order to show that cycle* performs the sequence of augmentations
as indicated, it is necessary to verify that each cycle in the sequence is a
maximum-decrease cycle. A p r o o f of this is given in [9].
Assertion. The four tie-breaking strategies given above all yield algo-
rithms which may require O(n 3) augmentations.
Table 2
Sequence of augmentations for Fig. 3.
s N 3 N 2 t, s N s N 4 t 3 0 6
s N 7 N 6 t, s N 9 N 8 t
All paths of the form:
sNsNtt 3 0 1
s N l N2 N3 N t Ns N8 N9 N10 t 9 2 o
1
sN1 N2 N3 N~ N 5 N s N t N 6 N 7 N 8 N 9 N l o t 13 4 1
224 N. Zadeh
References
[1] J. Edmonds and R.M. Karp, "Theoretical improvements in algorithmic efficiency for net-
work flow problems", Journal of the Association for Computing Machinery 19 (1972)
248-264.
121 L. Ford and D.R. Fulkerson, Flows in networks (Princeton University Press, Princeton, N.J.,
1962).
[3] T.C. Hu, Integer programming and network flows (Addison-Wesley, Reading, Mass., 1969).
I41 R.M. Karp, "Reducibility among combinatorial problems", Computer Sciences Technical
Report No. 5, Univeristy of California, Berkeley, Calif. (1972).
[5 ] M. Klein, "A primal method for minimal cost flows", Management Science 14 (1967) 2 0 5 -
220.
[6] A. Weintraub, "A primal approach to network flow problems with convex costs", Opera-
tions Research Center, University of California, Berkeley, Calif., No. ORC 71-30 (1971).
[7] N. Zadeh, "Theoretical efficiency and partial equivalence of minimum cost flow algorithms:
a bad network problem for the simplex method", Operations Research Center, University
of California, Berkeley, Calif., No. ORC 72-7 (1972).
[8] N. Zadeh, "Theoretical efficiency of the Edmonds-Karp algorithm for computing maximal
flows", Journal of the Association for Computing Machinery 19 (1972) 184-192.
[9] N. Zadeh, "More pathological examples for network flow problems", Operations Research
Center, University of California, Berkeley, Calif., No. ORC 72-12 (1972).