Shortest Paths with Linear Edge Weights
Abstract
We study shortest paths in directed graphs whose edge weights are of the form Here, each is a fixed constant for each edge , whereas each is common across the entire graph. So, there could be different shortest paths in the graph for different values of the 's. This is called the Parametric Shortest Paths problem, and has been studied since the 1980s. For , Carstensen (1983) showed that the number of shortest paths in -vertex graphs is at most . She also proved a matching lower bound of , later refined by Mulmuley & Shah (2001). For , Gajjar & Radhakrishnan (2019) showed an upper bound of . Barth, Funke & Proissl (2022) generalized their result to prove an upper bound of for all positive integers . The lower bound did not undergo any improvement over the years. In this paper, we close this long line of research by showing an upper bound for all positive integers , exponentially improving the previous upper bound. We observe that a matching lower bound of can be obtained from earlier works. We also show that our proof can be adapted to work for undirected graphs with positive edge weights. Furthermore, for directed graphs whose edge weights are univariate polynomials of degree at most , we prove an upper bound of . Finally, building upon work on the Point Location problem by Ezra, Har-Peled, Kaplan & Sharir (2020), we construct a Shortest Path Oracle which takes as input a point , and outputs a shortest path at in sublinear time (for a wide regime of ).
Cite
@article{arxiv.2607.21055,
title = {Shortest Paths with Linear Edge Weights},
author = {Suryajith Chillara and Kshitij Gajjar and Nithish Raja},
journal= {arXiv preprint arXiv:2607.21055},
year = {2026}
}
Comments
21 pages, 6 figures; to be presented at FOCS 2026