Scalable Mixed-Integer Optimization with Neural Constraints via Dual Decomposition

Shuli Zeng, Sijia Zhang, Feng Wu, Shaojie Tang, Xiang-Yang LiarXiv 2025 · DOI

Abstract

Modern decision-making systems often require integrating data-driven neural network predictions into mixed-integer programming (MIP) frameworks. Traditional monolithic integration methods, such as "Big-M" formulations, suffer from exponential computational complexity as network size increases. This paper presents a novel dual-decomposition framework that decouples the discrete optimization from the neural network constraints using augmented Lagrangian multipliers. By alternating between a standard MIP solver and a gradient-based neural network optimizer, the proposed method achieves up to 120x speedups and provides native support for complex architectures like CNNs and LSTMs, which were previously intractable for standard MIP solvers.

Introduction: The Scalability Bottleneck

Intelligent decision systems increasingly rely on combining predictive models with strict combinatorial constraints. For instance, optimizing a medical treatment plan might involve discrete decisions (MIP) while the patient outcome is predicted by a deep neural network.

The conventional approach to this problem is "monolithic integration," which translates every neuron and activation function (e.g., ReLU) into piecewise-linear constraints using Big-M formulations. However, this method is fundamentally unscalable. It introduces binary variables for every hidden unit, causing the solver's search tree to explode. Even moderate-sized networks can result in millions of variables, causing state-of-the-art solvers to fail. Furthermore, this rigid translation is typically limited to simple feed-forward networks and cannot easily accommodate complex architectures like CNNs or LSTMs.

Methodology: Augmented Lagrangian Dual Decomposition

To overcome the limitations of monolithic integration, the authors propose an Augmented Lagrangian Dual Decomposition framework. This approach modularizes the problem, allowing specialized solvers to handle discrete and continuous components independently.

Augmented Lagrangian Dual Decomposition framework splitting the problem into MIP and NN subproblems.

The framework operates through four key steps:

  1. Variable Splitting: A continuous copy $u$ of the discrete decision variable $x$ is introduced. The coupling constraint ($u = x$) is then relaxed using an augmented Lagrangian penalty.
  2. MIP Subproblem: The discrete variables ($x$) are optimized using a standard branch-and-cut solver (e.g., PySCIPOpt). This subproblem only handles original linear constraints and a penalty term pulling it toward $u$.
  3. NN Subproblem: The continuous variables ($u$) are optimized using first-order, gradient-based methods. This block manages the complex neural network constraints.
  4. Coordination: The framework iteratively alternates between these subproblems, updating dual multipliers until $u$ and $x$ converge to a valid integer solution.

This modularity ensures that the number of integer variables does not grow with the network's depth, and the neural network component can be treated as a differentiable oracle.

Experimental Evaluation

The framework was evaluated using the SURROGATELIB benchmark, focusing on two primary tasks:

  • Water Potability: Maximizing drinkable water samples under feature-adjustment budgets.
  • Tree Planting: Maximizing tree survival under soil sterilization and planting budget constraints.

Key Results and Discussion

The dual decomposition (DD) method demonstrates significant improvements in both speed and scalability compared to traditional monolithic solvers like PySCIPOpt-ML.

Computation time heatmap comparing standard SCIP solvers with the proposed Dual Decomposition (DD) method across various network architectures.
  • Performance Gains: The DD method achieved speedups of 100–120x over exact Big-M formulations on large networks. For a 64x128 ReLU network, the proposed method finished in 8.7 seconds, while the monolithic baseline timed out after 15 minutes.
  • Linear Scaling: Per-iteration computational cost grows only linearly with network size, bypassing the NP-hard exponential scaling of Big-M methods.
  • Architectural Flexibility: The framework successfully optimized over CNN and LSTM backbones in under 47 seconds, maintaining high predictive accuracy.
  • Robustness of Dual Coordination: Ablation studies confirmed that iterative primal-dual updates are essential for stability and solution quality; simpler single-step heuristics failed to converge reliably.

Conclusion and Future Work

By decoupling neural constraints from the integer optimization core, this dual-decomposition framework enables the use of large-scale, complex machine learning models within combinatorial optimization. While the current implementation is sensitive to hyperparameters like the penalty weight ($\rho$) and requires differentiable predictors, it represents a major step toward scalable, data-driven decision systems. Future research will focus on adaptive hyperparameter scheduling and extending the framework to non-differentiable models like random forests.

Summary updated

BibTeX
@misc{zeng2025scalable,
  author = {Shuli Zeng and Sijia Zhang and Feng Wu and Shaojie Tang and Xiang-Yang Li},
  title = {{Scalable Mixed-Integer Optimization with Neural Constraints via Dual Decomposition}},
  year = {2025},
  eprint = {2511.09186},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.09186},
}
Figure