Constraint Learning by Optimizing over Trained Neural Networks: A Pragmatic Tutorial
Organizations: University of Iowa
Abstract
Constraint learning is an emerging paradigm of modeling optimization problems with the help of machine learning. In this paradigm, trained machine learning models are embedded into the optimization model. For example, we can learn constraints empirically from available data, or we can avoid using a nonlinear objective function by learning a simpler approximation for it. Neural networks become a compelling option if the machine learning models must capture more elaborate and nuanced relationships. However, optimization models embedding neural networks may become too large or too slow to solve. In this tutorial, we present practical considerations for an effective and efficient use of constraint learning with neural networks and validate it with a case study highlighting the benefit of smaller and sparser networks.
Figures & tables
| Reference | Type of problem(s) | Prediction(s) involved |
|---|---|---|
| Huang et al. (2003) | Catalyst composition | Catalytic performance |
| Fernandes (2006) | Synthesis of a specific oil product | Outcome of a catalytic process |
| Fahmi and Cremaschi (2012) | Biodiesel production plant design | Unit operation, thermodynamics, mixing |
| Sant Anna et al. (2017) | PSA operation for N 2 /CH 4 separation | Nitrogen/methane purity and recovery |
| Lombardi et al. (2017) | Computational workload dispatch | Processor efficiency for assignment |
| Say et al. (2017) | HVAC, navigation, reservoir control | State transition in sensors |
| Type of predictive model | References |
|---|---|
| Linear regression | Bertsimas et al. (2016) , Verwer et al. (2017) |
| Logistic regression | Bergman et al. (2022) |
| Support vector machine | Hooshmand and Nikoomanesh (2025) |
| Multivariate adaptive regression spline | Martinez et al. (2017) |
| Regression tree | Verwer et al. (2017) , Ammari et al. (2023) |
| Decision tree | Bonfietti et al. (2015) , Lombardi et al. (2017) , Kudła and Pawlak (2018) |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Constrained Optimization
Constrained optimization finds the best decisions while satisfying equality, inequality, resource, safety, or fairness requirements.
See all 337 papers