English

Parameterized complexity of isometric path partition: treewidth and diameter

Data Structures and Algorithms 2025-09-23 v2 Discrete Mathematics Combinatorics

Abstract

We investigate the parameterized complexity of the Isometric Path Partition problem when parameterized by the treewidth (tw\mathrm{tw}) of the input graph, arguably one of the most widely studied parameters. Courcelle's theorem shows that graph problems that are expressible as MSO formulas of constant size admit FPT algorithms parameterized by the treewidth of the input graph. This encompasses many natural graph problems. However, many metric-based graph problems, where the solution is defined using some metric-based property of the graph (often the distance) are not expressible as MSO formulas of constant size. These types of problems, Isometric Path Partition being one of them, require individual attention and often draw the boundary for the success story of parameterization by treewidth. We prove that Isometric Path Partition is W[1]W[1]-hard when parameterized by treewidth (in fact, even pathwidth), answering the question by Dumas et al. [SIDMA, 2024], Fernau et al. [CIAC, 2023], and confirming the aforementioned tendency. We complement this hardness result by designing a tailored dynamic programming algorithm running in nO(tw)n^{O(\mathrm{tw})} time. This dynamic programming approach also results in an algorithm running in time diamO(tw2)nO(1)\textrm{diam}^{O(\mathrm{tw}^2)} \cdot n^{O(1)}, where diam\textrm{diam} is the diameter of the graph. Note that the dependency on treewidth is unusually high, as most problems admit algorithms running in time 2O(tw)nO(1)2^{O(\mathrm{tw})}\cdot n^{O(1)} or 2O(twlog(tw))nO(1)2^{O(\mathrm{tw} \log (\mathrm{tw}))}\cdot n^{O(1)}. However, we rule out the possibility of a significantly faster algorithm by proving that Isometric Path Partition does not admit an algorithm running in time diamo(tw2/(log3(tw)))nO(1)\textrm{diam}^{o(\mathrm{tw}^2/(\log^3(\mathrm{tw})))} \cdot n^{O(1)}, unless the Randomized-ETH fails.

Keywords

Cite

@article{arxiv.2508.05448,
  title  = {Parameterized complexity of isometric path partition: treewidth and diameter},
  author = {Dibyayan Chakraborty and Oscar Defrain and Florent Foucaud and Mathieu Mari and Prafullkumar Tale},
  journal= {arXiv preprint arXiv:2508.05448},
  year   = {2025}
}

Comments

43 pages, 10 figures

R2 v1 2026-07-01T04:39:12.985Z