A Graph Width Perspective on Partially Ordered Hamiltonian Paths
Jesse Beisegel, Katharina Klost, Kristin Knorr, Fabienne Ratajczak, Robert Scheffler
TL;DR
This work systematically maps the computational landscape of the Partially Ordered Hamiltonian Path Problem (POHPP) across graph width and distance parameters. It proves NP-hardness on width-bounded graphs at and above certain thresholds (e.g., pathwidth 4, bandwidth-related cases) while delivering efficient algorithms for key tractable regimes (pathwidth 3, treewidth 2, treedepth-bound cases). It further distinguishes the complexity under various distance-to-class measures, showing $ extsf{W[1]}$-hardness for some distances and providing FPT/XP algorithms for others (notably, feedback edge set and block-distance regimes). The paper also introduces DP- and module-based techniques, including signature-based encodings and a method for integrating clique structure into dynamic programs, to achieve fixed-parameter tractability or polynomial-time results in several non-sparse settings. Collectively, the results illuminate where POHPP remains intractable and where efficient, parameterized algorithms can be achieved, guiding future work on treewidth, grid graphs, and planar/outerplanar settings.
Abstract
We consider the problem of finding a Hamiltonian path with precedence constraints in the form of a partial order on the vertex set. This problem is known as Partially Ordered Hamiltonian Path Problem (POHPP). Here, we study the complexity for graph width parameters for which the ordinary Hamiltonian Path problem is in $\mathsf{FPT}$. We show that POHPP is $\mathsf{NP}$-complete for graphs of pathwidth 4. We complement this result by giving polynomial-time algorithms for graphs of pathwidth 3 and treewidth 2. Furthermore, we show that POHPP is $\mathsf{NP}$-hard for graphs of clique cover number 2 and $\mathsf{W[1]}$-hard for some distance-to-$\mathcal{G}$ parameters, including distance to path and distance to clique. In addition, we present $\mathsf{XP}$ and $\mathsf{FPT}$ algorithms for parameters such as distance to block and feedback edge set number.
