A knapsack intersection hierarchy

Adam Jozefiak, F. Bruce Shepherd, Noah WeningerOper. Res. Lett 2023

TL;DR

This paper introduces a new "knapsack intersection hierarchy" to strengthen linear programming relaxations for packing integer programs. They apply this hierarchy to the challenging "all-or-nothing flow in trees" problem, showing it can significantly reduce the integrality gap, especially on specific "bad" instances, and providing theoretical bounds on its effectiveness.

What Problem Does This Paper Address?

Many real-world optimization problems, like resource allocation or network flow, can be modeled as packing integer programs (PIPs). These problems involve selecting items (represented by binary variables) to maximize profit, subject to various constraints. Often, solving these problems exactly is computationally intractable. A common approach is to use linear programming (LP) relaxations, where the binary variables are allowed to take fractional values. However, the gap between the optimal solution of the LP relaxation and the true integer solution (the integrality gap) can be large, limiting the effectiveness of these relaxations.

This paper focuses on strengthening these LP relaxations for PIPs, particularly for the "all-or-nothing flow in trees" (ANF-Tree) problem. ANF-Tree is a complex problem where you need to route demands along paths in a tree structure, and each demand must be fully satisfied or not at all. While some approximations exist, achieving a constant-factor approximation or understanding the LP relaxation's strength has been difficult. The authors aim to develop a systematic way to improve LP relaxations for PIPs and analyze its impact on ANF-Tree.

Methods

The core contribution is the knapsack intersection hierarchy. This hierarchy builds upon existing techniques for strengthening PIP relaxations by considering the "integer hull" of intersections of multiple knapsack constraints.

Here's a breakdown:

  • Knapsack Constraints: Each row of the constraint matrix in a PIP can be viewed as a knapsack-like constraint.
  • Integer Hull: The integer hull of a set of constraints is the convex hull of all feasible integer solutions. It provides a tighter relaxation than just the fractional feasible region.
  • Hierarchy: The hierarchy is defined by progressively adding cuts (inequalities) derived from the integer hulls of intersections of t knapsack constraints.
  • Level 0 (P): The original LP relaxation.
  • Level 1 (P¹): Adds cuts from the integer hull of single knapsack constraints.
  • Level t (Pt): Adds cuts from the integer hull of intersections of t knapsack constraints.
  • Tractability: While separating over higher levels of this hierarchy is generally NP-hard, the paper shows that for a fixed level t, there exists a polynomial-time approximation scheme (PTAS) for the relaxed problem. This means for a constant number of constraints considered, you can get arbitrarily close to the optimal solution in polynomial time.
  • Application to ANF-Tree: The authors then analyze how this hierarchy impacts the integrality gap of ANF-Tree. They derive upper and lower bounds for the gap at different levels of the hierarchy. They also introduce a specific type of "bad instance" (Friggstad-Gao instances) where the hierarchy's effectiveness is particularly pronounced.

Datasets

The paper does not use external datasets. Instead, it introduces and analyzes specific classes of instances for the ANF-Tree problem:

  • Staircase Instances: A class of ANF-Path instances designed to show a large integrality gap for the basic LP relaxation.
  • Friggstad-Gao Instances: A family of ANF-Tree instances that are known to be challenging for existing approximation algorithms and hierarchies. These instances are single-sink (all requests end at the same vertex) and have a specific self-similar structure.

Key Insights and Ideas

  • Systematic Strengthening: The knapsack intersection hierarchy provides a structured way to strengthen PIP relaxations by considering combinations of constraints, moving beyond single-constraint cuts.
  • Trade-off between Strength and Tractability: While higher levels of the hierarchy offer stronger relaxations (smaller integrality gaps), they also increase computational complexity. The PTAS result for fixed t is crucial, showing that for a limited number of combined constraints, tractability can be maintained.
  • Hierarchy's Effectiveness on ANF-Tree: The hierarchy proves to be particularly effective for ANF-Tree, especially on the Friggstad-Gao instances. This suggests that combining constraints in this manner can significantly reduce the integrality gap for this difficult problem.
  • "Bad Instances" Matter: The analysis on Friggstad-Gao instances highlights the importance of studying specific problem structures that expose weaknesses in standard approaches. The fact that the hierarchy achieves a constant integrality gap on these instances is a significant finding.

Key Results

  • PTAS for Pt: For any fixed t and any $\epsilon > 0$, there exists a polynomial-time $(1+\epsilon)$-approximation for the relaxed problem at level t of the hierarchy.
  • ANF-Tree Integrality Gap (Pt): The integrality gap for ANF-Tree at level t of the hierarchy is $O(k/t)$, and there exist instances where it is $\Omega(k/t)$, where k is the number of requests.
  • ANF-Tree Integrality Gap (Friggstad-Gao Instances): For these specific "bad" instances, the integrality gap for level t ($P_t$) and the rank-based formulation ($P_{rank}$) is $O(1/c)$ for any $c > 0$, and $\Omega(\sqrt{\log k})$ for constant t. This implies that for these instances, a constant integrality gap can be achieved at level $t = n^c$ for any $c > 0$.

Limitations and Future Work

  • NP-Hardness of Separation: Separating over the cuts generated by the hierarchy is NP-hard, even for $t=1$. This means that while the hierarchy provides theoretical strength, its practical implementation in solvers might still require sophisticated cutting-plane generation techniques.
  • General ANF-Tree Instances: It remains an open question whether a constant integrality gap of $O(1/c)$ holds for general ANF-Tree instances, even in the single-sink scenario.
  • Comparison to Other Hierarchies: The paper suggests exploring stronger links to existing hierarchies like Lasserre, Sherali-Adams, and Chvátal.
  • Rank-t Approximation: Investigating a "rank-t approximation" by intersecting a structured set of t-row cuts (rather than all possible combinations) could lead to more tractable formulations for larger values of t.
  • Request-Based Sub-instances: Considering intersections of integer hulls of sub-instances induced by subsets of requests (instead of edges) is another promising direction.

Summary updated

BibTeX
@article{jozefiak2023knapsack,
  author = {Adam Jozefiak and F. Bruce Shepherd and Noah Weninger},
  title = {{A knapsack intersection hierarchy}},
  journal = {Oper. Res. Lett},
  year = {2023},
  doi = {10.1016/j.orl.2022.12.001},
}
Figure