All-pairs shortest paths complexity

Truly subcubic question remains openEvidence checked

Subjects: Algorithms and data structures

Reading depth

The problem

Three places have direct travel costs A–B: 3, B–C: 4 and A–C: 10. Going from A to C through B costs 7, so the direct connection is not the cheapest route. All-pairs shortest paths asks for the cheapest cost between every pair of places in a network. Can one exact algorithm handle every allowed network with a growth rate below the familiar cubic rate, where doubling the number of places multiplies the main work by eight?[2]

Scope

Worst-case exact APSP for general graphs with polynomially bounded integer edge weights and no negative cycle; the standard fine-grained setting.

What remains open

The saving must persist as networks grow: for example, work growing like the number of places to the power 2.9 would qualify, but merely halving a cubic running time would not. The question allows whole-number connection costs whose magnitudes grow at most as some fixed power of network size. It excludes cost-reducing loops that make a cheapest route undefined. Neither the required general algorithm nor a proof that it is impossible is known.[1] [2]

Why it matters

An exact distance table lets later queries ask the cheapest cost between any two places without solving a new route problem each time. It is also a benchmark for other computations: researchers can transform instances of one task into another and compare their running times. This can explain why improving a familiar network calculation would improve several other tasks that already have polynomial-time algorithms.[1] [2]

Definitions

3 terms
negative cycle

A closed route whose edge weights sum to a negative number. Repeating it can reduce a route cost without bound, so a finite minimum distance is not defined for pairs that can use it; such cycles are excluded here.[1] [2]

truly subcubic

A running-time bound O(n3−ε)O(n^{3-\varepsilon}) with one fixed ε>0\varepsilon>0. A smaller constant multiplying n3n^3, or a saving that leaves the leading power arbitrarily close to three, is not this fixed-power improvement.[1] [2]

fine-grained reduction

A transformation connecting two computational tasks while controlling running-time overhead tightly enough to transfer a specified speed improvement or conditional barrier. It gives a conditional connection, not an unconditional lower bound.[1]

Sources

  1. Universe Reduction for APSP: Equivalence of Three Fine-Grained Hypotheses Nick Fischer · 2026-03-29
    Notes on Universe Reduction for APSP: Equivalence of Three Fine-Grained Hypotheses

    Primary March 2026 preprint formulates the general weighted APSP hypothesis and proves conditional equivalences under further assumptions. Selected introduction and theorem statements were read; no unconditional cubic lower bound or complete proof verification is claimed.

  2. Warm-Starting All-Pairs Shortest Paths with Predictions Adam Polak and Jonas Schmidt · 2026-07-01
    Notes on Warm-Starting All-Pairs Shortest Paths with Predictions

    Primary July 2026 preprint defines exact weighted all-pairs distances and studies prediction-dependent speed. Exact answers do not make its faster bound a worst-case guarantee; selected introduction and algorithm statements were read.

Suggest a correction