Skip to main content

APPROXIMATE GOMORY-HU TREE IS FASTER THAN n-1 MAXIMUM FLOWS

Publication ,  Journal Article
Li, J; Panigrahi, D
Published in: SIAM Journal on Computing
January 1, 2024

The Gomory-Hu tree or cut tree [R. E. Gomory and T. C. Hu, J. Soc. Indust. Appl. Math., 9 (1961), pp. 551-570] is a classic data structure for reporting (s, t)-mincuts (and by duality, the values of (s, t)-maxflows) for all-pairs of vertices s and t in an undirected graph. Gomory and Hu showed that it can be computed using n 1 exact maxflow computations. Surprisingly, this remains the best algorithm for Gomory-Hu trees more than 50 years later, even for approximate mincuts. In this paper, we break this longstanding barrier and give an algorithm for computing a (1+ϵ)-approximate Gomory-Hu tree using polylog(n) maxflow computations. Specifically, we obtain the running time bounds we describe below. We obtain a randomized (Monte Carlo) algorithm for undirected, weighted graphs that runs in O(m+n3/2) time and returns a (1+ϵ)-approximate Gomory- Hu tree with high probability (w.h.p.). Previously, the best running time known was O(n5/2), which is obtained by running Gomory and Hu's original algorithm on a cut sparsifier of the graph. Next, we obtain a randomized (Monte Carlo) algorithm for undirected, unweighted graphs that runs in m4/3+o(1)time and returns a (1 + ϵ)-approximate Gomory-Hu tree w.h.p. This improves on our first result for sparse graphs, namely m = o(n9/8). Previously, the best running time known for unweighted graphs was O(mn) for an exact Gomory-Hu tree [A. Bhalgat et al., Proceedings of the 39th Annual ACM Symposium on Theory of Computing, San Diego, CA, 2007, pp. 605-614]; no better result is known if approximations are allowed. As a consequence of our Gomory-Hu tree algorithms, we also solve the (1+ϵ)-approximate all-pairs mincut (APMC) and single-source mincut (SSMC) problems in the same time bounds. (These problems are simpler in that the goal is to only return the (s, t)-mincut values, and not the mincuts.) This improves on the recent algorithm for these problems in O(n2) time due to Abboud, Krauthgamer, and Trabelsi [2020 IEEE 61st Annual Symposium on Foundations of Computer Science, IEEE Computer Society, 2020, pp. 105-118].

Duke Scholars

Published In

SIAM Journal on Computing

DOI

EISSN

1095-7111

ISSN

0097-5397

Publication Date

January 1, 2024

Volume

53

Issue

4

Start / End Page

1162 / 1180

Related Subject Headings

  • Computation Theory & Mathematics
  • 4903 Numerical and computational mathematics
  • 4901 Applied mathematics
  • 4613 Theory of computation
  • 0802 Computation Theory and Mathematics
  • 0101 Pure Mathematics
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Li, J., & Panigrahi, D. (2024). APPROXIMATE GOMORY-HU TREE IS FASTER THAN n-1 MAXIMUM FLOWS. SIAM Journal on Computing, 53(4), 1162–1180. https://doi.org/10.1137/21M1463379
Li, J., and D. Panigrahi. “APPROXIMATE GOMORY-HU TREE IS FASTER THAN n-1 MAXIMUM FLOWS.” SIAM Journal on Computing 53, no. 4 (January 1, 2024): 1162–80. https://doi.org/10.1137/21M1463379.
Li J, Panigrahi D. APPROXIMATE GOMORY-HU TREE IS FASTER THAN n-1 MAXIMUM FLOWS. SIAM Journal on Computing. 2024 Jan 1;53(4):1162–80.
Li, J., and D. Panigrahi. “APPROXIMATE GOMORY-HU TREE IS FASTER THAN n-1 MAXIMUM FLOWS.” SIAM Journal on Computing, vol. 53, no. 4, Jan. 2024, pp. 1162–80. Scopus, doi:10.1137/21M1463379.
Li J, Panigrahi D. APPROXIMATE GOMORY-HU TREE IS FASTER THAN n-1 MAXIMUM FLOWS. SIAM Journal on Computing. 2024 Jan 1;53(4):1162–1180.

Published In

SIAM Journal on Computing

DOI

EISSN

1095-7111

ISSN

0097-5397

Publication Date

January 1, 2024

Volume

53

Issue

4

Start / End Page

1162 / 1180

Related Subject Headings

  • Computation Theory & Mathematics
  • 4903 Numerical and computational mathematics
  • 4901 Applied mathematics
  • 4613 Theory of computation
  • 0802 Computation Theory and Mathematics
  • 0101 Pure Mathematics