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 ).
Create a lesson
Metadata
- Categories
- cs.DS, cs.CC, cs.CG, cs.DM
- Comments
- 21 pages, 6 figures; to be presented at FOCS 2026
Related papers
Linear Single-Source Shortest Path, Almost
Shared title terminologycs.DSIman Gholami, MohammadTaghi Hajiaghayi
Uniform Guarded Bootstrapping for Topology-Sensitive Directed Shortest Paths
Shared title terminologycs.DSBin Cai
Directed k-Disjoint Shortest Paths in Polynomial Time
Shared title terminologycs.DSYang Cao, Haoran Qi, Hanzhi Wang
Improved Strongly Polynomial Work-Span Tradeoffs for Directed Single Source Shortest Paths
Shared title terminologycs.DSIsaac M. Hair, George Z. Li, Jason Li et al.
\tilde{O}ptimal Algorithm for 2-Approximate All Pair Shortest Paths -- almost
Shared title terminologycs.DSManoj Gupta, Mrigankashekhar Shandilya
Improved Approximation Algorithms for n-Pairs Shortest Paths
Shared title terminologycs.DSAvi Kadria, Liam Roditty, Virginia Vassilevska Williams