NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On Integer Programs That Look Like Paths

Marcin Brianski, Alexandra Lassota, Kristýna Pekárková, Michal Pilipczuk, Janina Reuter

TL;DR

This paper identifies a sharp "complexity cliff" in integer programming: while "star-like" constraint structures are often easy to solve, "path-like" structures are NP-hard, even when the matrix coefficients are as small as 8. This result challenges the intuition that simple, sparse structures necessarily lead to efficient algorithms.

What Problem Does This Paper Address?

Integer Programming (IP)—finding an integer vector that satisfies a set of linear constraints—is a cornerstone of optimization but is generally NP-hard. To cope with this, researchers look for "islands of tractability": specific patterns in the constraint matrix $A$ that allow for efficient (polynomial or Fixed-Parameter Tractable) solutions.

Previous research has shown that "star-like" structures (where constraints or variables revolve around a central hub, known as $n$-fold or 2-stage stochastic IPs) are relatively easy to solve. These are characterized by bounded treedepth. The authors ask: what happens when we move to the next simplest structure—a path? In a path-like IP, every variable appears in at most two consecutive constraints. Intuitively, this seems like a very restrictive and "simple" structure, yet it allows for unbounded treedepth. The paper investigates whether this simplicity is enough to guarantee efficiency.

Methods

The authors prove that path-like IPs are NP-hard using a sophisticated reduction from 3-SAT.

The core of their method is a "filtering" process. They represent all $2^n$ possible truth assignments for a 3-SAT formula as a single large integer. As this value "flows" through the path of constraints, each constraint acts as a filter that removes assignments failing to satisfy a specific clause.

To achieve this within the strict "path-like" requirement (where variables only live for two consecutive constraints), they employ clever number-theoretic identities. Specifically, they use a combination of:

  • Division with remainder: To extract specific "bits" (variable assignments) from the large integer.
  • Scaling (Multiplication by 5): To ensure that different pieces of information don't interfere with each other (using the fact that 2 and 5 are coprime).
  • Restoration Gadgets: A mathematical "sleight of hand" that allows them to check a clause and then restore the original representation of the assignment so it can be checked against the next clause.

Datasets

Not discussed in the paper. This is a theoretical work focused on computational complexity proofs rather than empirical benchmarking.

Key Insights and Ideas

  • The Treedepth Divide: The paper highlights that treedepth, not just sparsity or treewidth, is the critical parameter for IP tractability. A path has a treewidth of only 1, but because its treedepth can be infinite, it is sufficient to encode NP-hard problems.
  • Small Coefficients Matter: A surprising aspect of the result is that the coefficients in the matrix $A$ remain very small (bounded by 8). Usually, hardness results for structured IPs require coefficients to grow with the problem size. Here, the complexity comes purely from the interaction of the constraints along the path.
  • Information Flow: The reduction treats the IP as a state machine. One variable "forwards" the current set of valid SAT assignments to the next constraint, which updates the state. This demonstrates that even a "thin" path can carry a massive amount of information.

Key Results

  • NP-Hardness: Deciding the feasibility of an IP with a path-like constraint matrix is NP-hard, even if all entries in the matrix are in the range $[-8, 8]$.
  • Fine-Grained Complexity: Under the Exponential Time Hypothesis (ETH), the authors show that these path-like IPs cannot be solved in $2^{o(\sqrt{n})}$ time.
  • Contrast with Matching: The result is particularly striking because if the sum of absolute values in each column is $\le 2$ (a very similar-looking constraint), the problem is solvable in polynomial time. Adding just a bit more flexibility in the coefficients (up to 8) and the path structure jumps the problem from "easy" to "NP-hard."

Limitations and Future Work

  • The "8" Bound: The authors used the constant 8 to make the reduction work. They leave open whether the problem remains hard for even smaller constants (e.g., if all entries are in $\{-1, 0, 1\}$).
  • Unbounded Variables: The current proof relies on variables having upper bounds ($l \le x \le u$). The authors suggest investigating whether the problem remains NP-hard for "standard form" IPs where variables only have a lower bound of zero ($x \ge 0$).
  • Binary RHS: The hardness depends on the right-hand side vector $b$ being provided in binary (allowing for very large values). If $b$ were unary (small values), the problem might become tractable.

Summary updated

BibTeX
@inproceedings{brianski2026integer,
  author = {Marcin Brianski and Alexandra Lassota and Kristýna Pekárková and Michal Pilipczuk and Janina Reuter},
  title = {{On Integer Programs That Look Like Paths}},
  booktitle = {IPCO},
  year = {2026},
  doi = {10.1007/978-3-032-28691-8\_11},
}
Figure