Skip to main navigation Skip to search Skip to main content

Conditional Lower Bounds for All-Pairs Max-Flow

Robert Krauthgamer, Ohad Trabelsi

Research output: Contribution to journalArticlepeer-review

Abstract

We provide evidence that computing the maximum flow value between every pair of nodes in a directed graph on n nodes, m edges, and capacities in the range [1..n], which we call the All-Pairs Max-Flow problem, cannot be solved in time that is significantly faster (i.e., by a polynomial factor) than O(n(3)) even for sparse graphs, namely m = O(n); thus for general m, it cannot be solved significantly faster than O(n(2)m). Since a single maximum st-flow can be solved in time (O) over tilde (m root n) [Lee and Sidford, FOCS 2014], we conclude that the all-pairs version might require time equivalent to (Omega) over tilde (n(3/)(2)) computations of maximum st-flow, which strongly separates the directed case from the undirected one. Moreover, if maximum st-flow can be solved in time (O) over tilde (m), then the runtime of (Omega) over tilde (n(2)) computations is needed. This is in contrast to a conjecture of Lacki, Nussbaum, Sankowski, and Wulff-Nilsen [FOCS 2012] that All-Pairs Max-Flow in general graphs can be solved faster than the time of O(n(2)) computations of maximum st-flow.

Specifically, we show that in sparse graphs G = (V, E, w), if one can compute the maximum st-flow from every s in an input set of sources S subset of V to every t in an input set of sinks T subset of V in time O((vertical bar S vertical bar vertical bar T vertical bar m)(1-epsilon)), for some vertical bar S vertical bar, vertical bar T vertical bar and a constant epsilon > 0, then MAX-CNF-SAT (maximum satisfiability of conjunctive normal form formulas) with n' variables and m' clauses can be solved in time m'(O(1))2((1-delta)n)' for a constant delta(epsilon) > 0, a problem for which not even 2(n)'/Porx(n') algorithms are known. Such running time for MAX-CNF-SAT would in particular refute the Strong Exponential Time Hypothesis (SETH). Hence, we improve the lower bound of Abboud, Vassilevska-Williams, and Yu [STOC 2015], who showed that for every fixed epsilon > 0 and vertical bar S vertical bar = vertical bar T vertical bar = O(root n), if the above problem can be solved in time O(n(3/)(2-epsilon)), then some incomparable (and intuitively weaker) conjecture is false. Furthermore, a larger lower bound than ours implies strictly super-linear time for maximum st-flow problem, which would be an amazing breakthrough.

In addition, we show that All-Pairs Max-Flow in uncapacitated networks with every edge-density m = m(n) cannot be computed in time significantly faster than O(mn), even for acyclic networks. The gap to the fastest known algorithm by Cheung, Lau, and Leung [FOCS 2011] is a factor of O(m(omega-1)/n), and for acyclic networks it is O(n(omega-1)), where omega is the matrix multiplication exponent.

Finally, we extend our lower bounds to the version that asks only for the maximum-flow values below a given threshold (over all source-sink pairs).

Original languageEnglish
Article number42
Number of pages15
JournalACM Transactions on Algorithms
Volume14
Issue number4
DOIs
StatePublished - 1 Aug 2018

Keywords

  • All-pairs maximum flow
  • Conditional lower bounds
  • Hardness in P
  • Strong exponential time hypothesis

All Science Journal Classification (ASJC) codes

  • Mathematics (miscellaneous)

Fingerprint

Dive into the research topics of 'Conditional Lower Bounds for All-Pairs Max-Flow'. Together they form a unique fingerprint.

Cite this