All pairs bottleneck paths and max-min matrix products in truly subcubic time

Virginia Vassilevska, Ryan Williams, Raphael Yuster-Yaron

Research output: Contribution to journalArticlepeer-review


In the all pairs bottleneck paths (APBP) problem, one is given a directed graph
with real weights on its edges. Viewing the weights as capacities, one is asked to determine, for all pairs (s,t) of vertices, the maximum amount of flow that can be routed along a single path from s to t. The APBP problem was first studied in operations research, shortly after the introduction of maximum flows and all pairs shortest paths. We present the first truly subcubic algorithm for APBP in general dense graphs. In particular, we give a procedure for computing the (max,min)-product of two arbitrary matrices over R ∪ {∞,−∞} in O(n2+ω/3
) ≤ O(n2.792) time, where n is the number of vertices and
ω is the exponent for matrix multiplication over rings. Max-min products can be used to compute the maximum bottleneck values for all pairs of vertices together with a “successor matrix” from which one can extract an explicit maximum bottleneck path for any pair of vertices in time linear in the length of the path.
Original languageEnglish
Pages (from-to) 173–189
JournalTheory of Computing
StatePublished - 2009


Dive into the research topics of 'All pairs bottleneck paths and max-min matrix products in truly subcubic time'. Together they form a unique fingerprint.

Cite this