On the Complexity of Extending Prescribed Linear Forests to Hamiltonian Cycles in Hypercubes
Abstract
Let Qn be the n-dimensional hypercube, and let P⊆ E(Qn) be a set of prescribed edges. It is known that, for n≥ 2, every such set P with |P|≤ 2n−3 whose edges form a linear forest is contained in a Hamiltonian cycle of Qn. This bound is sharp for general linear forests. The computational complexity of deciding whether a prescribed edge set of a hypercube can be extended to a Hamiltonian cycle was posed as an open question by Dvořák [SIAM J. Discrete Math. 19 (2005) 135--144]. We prove that the problem is NP-complete even when the prescribed edges form a spanning linear forest with no isolated vertices. We give a polynomial-time reduction from a restricted 3-SAT problem, using local spanning path-forest gadgets for variables and clauses that are uniformly embedded in the hypercube. The same reduction therefore establishes NP-hardness of two versions of Hamiltonian-cycle extension problems for general prescribed edge sets.
Related
- Hamiltonian graphs with prescribed minimum degree and no near-spanning cycles
- The Descriptive Complexity of Continuous Selections with Prescribed Hausdorff dimension of the Graph
- Sustained growth of quantum circuit complexity in many-body Hamiltonian dynamics
- The first savings in word-representations of hypercubes
- Bruhat intervals that are large hypercubes
BibTeX
@misc{lu2026complexity,
title = {{On the Complexity of Extending Prescribed Linear Forests to Hamiltonian Cycles in Hypercubes}},
author = {Huazhong Lü and Tingzeng Wu},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.11476},
eprint = {2611.11476},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.11476},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - On the Complexity of Extending Prescribed Linear Forests to Hamiltonian Cycles in Hypercubes
AU - Huazhong Lü
AU - Tingzeng Wu
PY - 2026
DA - 2026/11/08
PB - arXiv
DO - 10.48550/arxiv.2611.11476
UR - https://arxiv.org/abs/2611.11476
AB - Let Q_n be the n-dimensional hypercube, and let P⊆ E(Q_n) be a set of prescribed edges. It is known that, for n≥ 2, every such set P with |P|≤ 2n−3 whose edges form a linear forest is contained in a Hamiltonian cycle of Q_n. This bound is sharp for general linear forests. The computational complexity of deciding whether a prescribed edge set of a hypercube can be extended to a Hamiltonian cycle was posed as an open question by Dvořák [SIAM J. Discrete Math. 19 (2005) 135--144]. We prove that the problem is NP-complete even when the prescribed edges form a spanning linear forest with no isolated vertices. We give a polynomial-time reduction from a restricted 3-SAT problem, using local spanning path-forest gadgets for variables and clauses that are uniformly embedded in the hypercube. The same reduction therefore establishes NP-hardness of two versions of Hamiltonian-cycle extension problems for general prescribed edge sets.
ER -