Algorithm Engineering of SSSP With Negative Edge Weights
Alejandro Cassis, Andreas Karrenbauer, Andr\'e Nusser, and Paolo Luigi, Rinaldi

TL;DR
This paper explores the practical implementation of a recent near-linear time algorithm for shortest path problems with negative weights, demonstrating significant speed improvements over traditional methods on difficult instances.
Contribution
It provides the first extensive practical implementation and evaluation of the recent combinatorial algorithm for SSSP with negative weights, including parameter tuning and comparison with existing algorithms.
Findings
Implementation achieves up to 100x speedup on hard instances.
Parameter tuning significantly impacts performance.
The algorithm is practical and competitive with state-of-the-art methods.
Abstract
Computing shortest paths is one of the most fundamental algorithmic graph problems. It is known since decades that this problem can be solved in near-linear time if all weights are nonnegative. A recent break-through by [Bernstein, Nanongkai, Wulff-Nilsen '22] presented a randomized near-linear time algorithm for this problem. A subsequent improvement in [Bringmann, Cassis, Fischer '23] significantly reduced the number of logarithmic factors and thereby also simplified the algorithm. It is surprising and exciting that both of these algorithms are combinatorial and do not contain any fundamental obstacles for being practical. We launch the, to the best of our knowledge, first extensive investigation towards a practical implementation of [Bringmann, Cassis, Fischer '23]. To this end, we give an accessible overview of the algorithm, discussing what adaptions are necessary to obtain a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
