Mixed-Integer Optimization with Constraint Learning

Donato Maragno, Holly M. Wiberg, Dimitris Bertsimas, S. Ilker Birbil, Dick den Hertog, Adejuyigbe O. FajemisinOper. Res 2021 · DOI

TL;DR

This paper introduces OptiCL, a unified framework for data-driven decision-making that seamlessly integrates machine learning (ML) with mixed-integer optimization (MIO). It allows for learning complex constraints and objectives directly from data and embedding them into MIO problems, offering a powerful approach to tackle real-world challenges where explicit problem formulations are difficult or impossible.

What Problem Does This Paper Address?

Many real-world decision-making problems involve optimizing an objective subject to various constraints. While traditional Mixed-Integer Optimization (MIO) excels when these objectives and constraints are precisely known and quantifiable, many practical scenarios suffer from unknown or imprecisely defined relationships. For instance, predicting the palatability of a diet or the toxicity of a medical treatment based on available data is challenging. This gap between data-driven insights and optimization capabilities hinders effective decision-making. The authors aim to bridge this by developing a framework that can learn these unknown relationships from data using machine learning and incorporate them as constraints or objectives within an MIO framework.

Methods

The core of the paper is the OptiCL framework, an end-to-end pipeline for data-driven decision-making. Key methodological contributions include:

  • Constraint Learning: ML models (linear regression, decision trees, ensembles, neural networks, etc.) are trained to learn functions that predict outcomes of interest. These learned functions are then embedded into MIO formulations as constraints or objective terms. The framework supports both "function learning" (predicting continuous values) and "indicator function learning" (predicting feasibility).
  • MIO-Representable Models: The paper emphasizes that many popular ML models are "MIO-representable," meaning their learned functions can be translated into linear constraints and binary variables suitable for MIO solvers.
  • Trust Region: To mitigate extrapolation risks inherent in ML models, OptiCL incorporates a "trust region" defined by the convex hull of the training data. This ensures that recommendations are based on observed data patterns. They propose a two-step approach involving clustering to handle low-density regions and a column selection algorithm to efficiently manage large datasets.
  • Model Wrapper Ensemble: To address uncertainty in ML model predictions, OptiCL employs a model wrapper approach. Instead of relying on a single model's prediction, it uses an ensemble of multiple estimators (from the same or different model classes) and enforces constraints on a proportion of these estimators, leading to more robust solutions.

Datasets

The paper utilizes two real-world datasets for evaluation:

  • World Food Programme (WFP) Planning: Data related to food basket composition and palatability, used to optimize food aid delivery.
  • Chemotherapy Regimen Design: Clinical trial data for advanced gastric cancer, used to optimize chemotherapy regimens by predicting survival and toxicity.

The authors do not introduce new benchmark datasets but apply their framework to existing problem domains.

Key Insights and Ideas

  • Bridging the ML-MIO Divide: The most significant insight is the successful integration of ML's predictive power with MIO's prescriptive capabilities. This allows for optimizing complex, data-driven scenarios that were previously intractable.
  • Trust Region for Credibility: The trust region concept is crucial for ensuring that ML-driven recommendations are grounded in observed data, preventing unreliable extrapolations and increasing the credibility of the solutions.
  • Robustness through Ensembles: Using ensembles of ML models, rather than a single model, significantly improves the robustness of constraint satisfaction, making the system less sensitive to individual model errors or mis-specifications.
  • Scalability through Column Selection: The column selection algorithm is a key enabler for applying this framework to large datasets, making the trust region computation computationally feasible.

Key Results

  • Improved Predictive Performance: The MLP model achieved the best performance (MSE of 0.055) in modeling palatability constraints in the WFP case study.
  • Enhanced Constraint Satisfaction: In the WFP case study, using the trust region improved the MSE of predictive models significantly, bringing them closer to validation MSEs.
  • Robustness Benefits: In the WFP case study, the robust solution (using ensembles) increased palatability by 5.6% to 15.6% with only a modest cost increase of -1.8% to 1%.
  • Chemotherapy Regimen Improvement: The proposed prescriptive scheme ("All Constraints") led to an 11.10% improvement in overall DLT constraint satisfaction and a 11.40% improvement in survival compared to observed treatments.
  • Computational Efficiency: The column selection algorithm demonstrated significant speedups in computation time for large datasets, making the approach practical.
  • OptiCL Performance: OptiCL outperformed JANOS in terms of objective value and optimization runtime for the Student Enrolment Problem.

Limitations and Future Work

  • Model Dependence: The framework's performance is inherently dependent on the quality of the underlying predictive models. Model misspecification remains a concern, although mitigated by model selection and ensemble approaches.
  • Extrapolation: While the trust region helps, the paper acknowledges that in high-dimensional spaces, generalization often involves extrapolation. The enlarged convex hull (e-CH) is proposed as a way to address this.
  • Causal Inference: The authors suggest incorporating ideas from causal inference to relax assumptions about unobserved confounders and handle more general decision structures.
  • Robust Optimization for Prediction Uncertainty: Future work could explore robust optimization techniques to directly account for prediction uncertainty within individual ML model classes, especially for non-linear models.
  • Software Integration: The authors envision OptiCL's methodology being integrated into state-of-the-art optimization modeling software packages.

Summary updated

BibTeX
@inproceedings{maragno2021mixed,
  author = {Donato Maragno and Holly M. Wiberg and Dimitris Bertsimas and S. Ilker Birbil and Dick den Hertog and Adejuyigbe O. Fajemisin},
  title = {{Mixed-Integer Optimization with Constraint Learning}},
  booktitle = {Oper. Res},
  year = {2021},
  doi = {10.1287/opre.2021.0707},
}
Figure