Negative-Weight Single-Source Shortest Paths in Near-linear Time
We present a randomized algorithm that computes single-source shortest paths (SSSP) in O ( m log 8 ( n ) log W ) time when edge weights are integral and can be negative. 1 This essentially resolves the classic negative-weight SSSP problem. The previous bounds are \(\tilde{O}((m+n^{1.5})\log W)\) [BLNPSSSW FOCS’20] and m 4/3+ o (1) log W [AMV FOCS’20]. Near-linear time algorithms were known previously only for the special case of planar directed graphs [Fakcharoenphol and Rao FOCS’01]. In contrast to all recent developments that rely on sophisticated continuous optimization methods and dynamic algorithms, our algorithm is simple: it requires only a simple graph decomposition and elementary combinatorial tools. In fact, ours is the first combinatorial algorithm for negative-weight SSSP to break through the classic \(\tilde{O}(m\sqrt {n}\log W)\) bound from over three decades ago [Gabow and Tarjan SICOMP’89].
Authors
- Aaron Bernstein (ORCID: https://orcid.org/0000-0002-7599-2679)
- Danupon Nanongkai (ORCID: https://orcid.org/0000-0003-4468-2675)
- Christian Wulff‐Nilsen (ORCID: https://orcid.org/0000-0002-3699-7821)
Institutions
- Rutgers, The State University of New Jersey (US)
- University of Copenhagen (DK)
- Rutgers Sexual and Reproductive Health and Rights (NL)
- Max Planck Institute for Informatics (DE)
- New York University (US)
Publication Details
- Journal
- Journal of the ACM
- Published
- 2025-06-07
- DOI
- https://doi.org/10.1145/3742890
- Primary Topic
- Complexity and Algorithms in Graphs
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Vetenskapsrådet