Reconfiguring Shortest Paths in Graphs
Kshitij Gajjar, Agastya Vibhuti Jha, Manish Kumar, Abhiruk Lahiri
Abstract
Reconfiguring two shortest paths in a graph means modifying one shortest path to the other by changing one vertex at a time so that all the intermediate paths are also shortest paths. This problem has several natural applications, namely: (a) repaving road networks, (b) rerouting data packets in a synchronous multiprocessing setting, (c) the shipping container stowage problem, and (d) the train marshalling problem. When modelled as graph problems, (a) is the most general case while (b), (c), (d) are restrictions to different graph classes. We show that (a) does not admit polynomial-time algorithms (assuming P≠NPminimal amsmath wasysym amsfonts amssymb amsbsy mathrsfs upgreek -69pt documentdocument), even for relaxed variants of the problem (assuming P≠PSPACEminimal amsmath wasysym amsfonts amssymb amsbsy mathrsfs upgreek -69pt documentdocument). For (b), (c), (d), we present polynomial-time algorithms to solve the respective problems. We also generalize the problem to when at most k (for a fixed integer k≥2minimal amsmath wasysym amsfonts amssymb amsbsy mathrsfs upgreek -69pt documentdocument) contiguous vertices on a shortest path can be changed at a time.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 10fd0ae7-d200-406d-a421-2ea10ce21dbcCited by top-tier papers1
Ask how each one uses itRelated papers
- A Polynomial Time Algorithm for the k-Disjoint Shortest Paths ProblemWilliam LochetSODA 2021 · 12 citations
- Parameterized Complexity of Segment RoutingCristina Bazgan, Morgan Chopin, André Nichterlein, Camille RicherINFOCOM 2025 · 2 citations
- A Strongly Polynomial Algorithm for Finding a Shortest Non-zero Path in Group-Labeled GraphsYutaro YamaguchiSODA 2020 · 3 citations
- Planar Disjoint Shortest Paths is Fixed-Parameter TractableMichal Pilipczuk, Giannos Stamoulis, Michal WlodarczykSODA 2026
- Gap-ETH-Tight Approximation Schemes for Red-Green-Blue Separation and Bicolored Noncrossing Euclidean Travelling Salesman ToursFrançois Dross, Krzysztof Fleszar, Karol Wegrzycki, Anna Zych-PawlewiczSODA 2023
