Expanding graphs and the average-case analysis of algorithms for matchings and related problems

Hall's Theorem states that a bipartite graph has a perfect matching if and only if every set of vertices has an equal number of neighbours. Equivalently, it states that every non-maximum matching has an augmenting path if the graph is an expander with expansion 1. We use this insight to demonstrate that if a graph is an expander with expansion more than one than every non-maximum matching has a short augmenting path and, therefore, the bipartite matching algorithm performs much better on such graphs than in the worst case. We then apply this idea to the average case analysis of various augmenting path algorithms and to the approximation of the permanent. In particular, we demonstrate that the following algorithms perform much better on the average than in the worst case. In fact, they will rarely exhibit their worst-case running times.Hopcroft-Karp's algorithm for bipartite matchings. Micali-Vazirani's and Even-Kariv's algorithms for non-bipartite matchings. Gabow-Tarjan's parallel algorithm for bipartite matchings. Dinic's algorithm for k-factors and 0-1 network flows. Jerrum-Sinclair's approximation scheme for the permanent. It seems rather surprising that the algorithms which are the fastest known for worst-case inputs also do exceedingly on almost every graph.

[1]  Micha Hofri,et al.  Probabilistic Analysis of Algorithms , 1987, Texts and Monographs in Computer Science.

[2]  Alan M. Frieze,et al.  An algorithm for finding Hamilton cycles in random graphs , 1985, STOC '85.

[3]  Andrei Z. Broder,et al.  How hard is it to marry at random? (On the approximation of the permanent) , 1986, STOC '86.

[4]  Richard M. Karp,et al.  A n^5/2 Algorithm for Maximum Matchings in Bipartite Graphs , 1971, SWAT.

[5]  János Komlós,et al.  Limit distribution for the existence of hamiltonian cycles in a random graph , 1983, Discret. Math..

[6]  A. Rí,et al.  On random matrices II , 1968 .

[7]  Leslie G. Valiant,et al.  The Complexity of Computing the Permanent , 1979, Theor. Comput. Sci..

[8]  Robert E. Tarjan,et al.  Almost-optimum speed-ups of algorithms for bipartite matching and related problems , 1988, STOC '88.

[9]  E. A. Dinic Algorithm for solution of a problem of maximal flow in a network with power estimation , 1970 .

[10]  David W. Walkup,et al.  Matchings in random regular bipartite digraphs , 1980, Discret. Math..

[11]  P. Erdos,et al.  On the existence of a factor of degree one of a connected random graph , 1966 .

[12]  Mark Jerrum,et al.  Conductance and the rapid mixing property for Markov chains: the approximation of permanent resolved , 1988, STOC '88.

[13]  Béla Bollobás,et al.  Random Graphs , 1985 .

[14]  Richard M. Karp,et al.  A n^5/2 Algorithm for Maximum Matchings in Bipartite Graphs , 1971, SWAT.

[15]  Refael Hassin,et al.  Probabilistic Analysis of the Capacitated Transportation Problem , 1988, Math. Oper. Res..

[16]  G. V. Balakin On Random Matrices , 1967 .

[17]  L. Pósa,et al.  Hamiltonian circuits in random graphs , 1976, Discret. Math..

[18]  Rajeev Motwani,et al.  Probabilistic analysis of matching and network flow algorithms , 1988 .

[19]  Ulrich Derigs,et al.  A Computational Study on Some Methods for Solving the Cardinality Matching Problem , 1980, Angew. Inform..

[20]  Alan M. Frieze Limit Distribution for the Existence of Hamiltonian Cycles in Random Bipartite Graphs , 1985, Eur. J. Comb..

[21]  Dorit S. Hochbaum,et al.  A Fast Perfect-Matching Algorithm in Random Graphs , 1990, SIAM J. Discret. Math..

[22]  T.I. Fenner,et al.  On the existence of Hamiltonian cycles in a class of random graphs , 1983, Discret. Math..

[23]  Richard M. Karp,et al.  Maximum Matchings in Sparse Random Graphs , 1981, FOCS 1981.

[24]  Shimon Even,et al.  An O (N2.5) algorithm for maximum matching in general graphs , 1975, 16th Annual Symposium on Foundations of Computer Science (sfcs 1975).

[25]  P. Hall On Representatives of Subsets , 1935 .

[26]  Leslie G. Valiant,et al.  Fast probabilistic algorithms for hamiltonian circuits and matchings , 1977, STOC '77.