Negative-Weight Single-Source Shortest Paths in Near-linear Time
Open Access
- 24 July 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 72 (4) , 1-34
Abstract
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].
Keywords
Funding Information
- European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (715672)
- Swedish Research Council (2019-05622)
This publication has 40 references indexed in Scilit:
- Near-Optimal Decremental SSSP in Dense Weighted Digraphs2020
- Computing Maximum Flow with Augmenting Electrical Flows2016
- Nearly-Linear Work Parallel SDD Solvers, Low-Diameter Decomposition, and Low-Stretch SubgraphsTheory of Computing Systems, 2013
- Exact and Efficient Generation of Geometric Random Variates and Random Graphs2013
- Planar graphs, negative weight edges, shortest paths, and near linear timeJournal of Computer and System Sciences, 2006
- Integer priority queues with decrease key in constant time and the single source shortest paths problemJournal of Computer and System Sciences, 2004
- Faster Shortest-Path Algorithms for Planar GraphsJournal of Computer and System Sciences, 1997
- Low diameter graph decompositionsCombinatorica, 1993
- Scaling algorithms for network problemsJournal of Computer and System Sciences, 1985
- On a routing problemQuarterly of Applied Mathematics, 1958