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

Learning Cut Generating Functions for Integer Programming

Hongyu Cheng, Amitabh Basu

Integer Linear Programming (ILP) is the backbone of modern logistics, finance, and engineering, but solving these problems is notoriously NP-hard. The industry standard approach is the branch-and-cut algorithm, which relies on "cutting planes"—linear constraints added to the problem to prune the search space without losing the optimal integer solution.

The critical challenge in ILP is deciding which cuts to use. While standard cuts like Gomory Mixed-Integer (GMI) cuts work well generally, they aren't tailored to specific problem distributions (e.g., specific knapsack or packing configurations). Recent research has attempted to "learn" parameters for specific cut families, but this paper goes deeper: it tackles the data-driven selection of the Cut Generating Function (CGF) itself, a broad mathematical framework that generalizes almost all classical cutting planes.

Bridging CGF Theory and Machine Learning

The authors introduce a framework to learn problem-specific CGFs that drastically reduce search tree sizes compared to industry-standard cuts. Their methodology focuses on several key areas:

  1. Parameterized CGF Families: The researchers focus on two specific families of functions: a one-dimensional family (which generalizes standard GMI cuts) and a $k$-dimensional family (for multi-row cuts). These functions are "extreme," meaning they represent theoretically optimal cuts for certain problem relaxations, ensuring the learner doesn't waste time on mathematically weak constraints.
Comparison of standard Chvátal-Gomory (a) and GMI cuts (b) with the proposed parameterized CGF family (c).
  1. Sample Complexity Analysis: Using the concept of pseudo-dimension, the authors provide rigorous bounds on how many problem instances a solver needs to "see" during training. This guarantees that the learned CGF will perform well on unseen instances drawn from the same distribution.
  2. Neural Network Integration: Moving beyond a single, one-size-fits-all CGF, the authors extend their theory to instance-dependent selection. They utilize a neural network to map the specific features of an incoming problem instance directly to optimal CGF parameters.
  3. Efficient Computation: They introduce a linear-time algorithm ($O(k)$) to compute the coefficients for $k$-dimensional CGFs, making multi-row cuts computationally viable in a machine learning context for the first time.

Key Insights and Empirical Results

The authors evaluated their methods on classic ILP problem types, including Multiple Knapsack (generated via the Chvátal distribution) and general Packing problems, comparing their learned CGFs against classical GMI cuts.

  • Beyond Single Rows: Most solvers generate cuts from a single row of the simplex tableau. This research demonstrates that $k$-dimensional CGFs (multi-row cuts) can capture complex interactions between constraints that single-row cuts miss.
  • Massive Tree Size Reduction: The empirical results show significant improvements in solver efficiency. On Knapsack(50, 1) instances, the standard GMI cut resulted in an average tree size of 3,543.91 nodes. The learned 1-row cut slashed this to just 277.01 nodes—a more than 10x improvement.
  • Multi-row Superiority: For more complex Knapsack(30, 3) problems, multi-row cuts ($k=5$) outperformed even the best possible single-row cuts, reducing the tree size from 4,963.91 (GMI) to 2,817.55.
  • Strong Generalization: The learned parameters generalized effectively from the training set to the test set, validating the paper's theoretical sample complexity bounds. The mathematical "niceness" of the branch-and-cut tree size—which behaves like a piecewise constant function over the CGF parameter space—is what makes these bounds possible.

Limitations and Future Directions

While promising, the framework has areas for future expansion. Currently, the paper assumes the rows used to generate cuts are fixed (e.g., the first $k$ fractional rows). In practice, dynamically choosing which rows to combine remains a difficult open problem.

Additionally, the authors currently rely on grid search or enumeration to find the best parameters (Empirical Risk Minimization). Developing more sophisticated gradient-based or combinatorial optimization methods could significantly accelerate the training process. Finally, the performance measure relies on a "truncated" tree size (capped at a maximum number of nodes); while standard, it may not fully capture the behavior of extremely difficult instances that hit this limit.

Summary updated

BibTeX
@inproceedings{cheng2024learning,
  author = {Hongyu Cheng and Amitabh Basu},
  title = {{Learning Cut Generating Functions for Integer Programming}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=8mZc259r8X},
}
Figure