PySCIPOpt-ML: Embedding Trained Machine Learning Models into Mixed-Integer Programs
Not on the map. Why?
Abstract (arXiv)
A standard tool for modelling real-world optimisation problems is mixed-integer programming (MIP). However, for many of these problems, information about the relationships between variables is either incomplete or highly complex, making it difficult or even impossible to model the problem directly. To overcome these hurdles, machine learning (ML) predictors are often used to represent these relationships and are then embedded in the MIP as surrogate models. Due to the large amount of available ML frameworks and the complexity of many ML predictors, formulating such predictors into MIPs is a highly non-trivial task. In this paper, we introduce PySCIPOpt-ML, an open-source tool for the automatic formulation and embedding of trained ML predictors into MIPs. By directly interfacing with a broad range of commonly used ML frameworks and an open-source MIP solver, PySCIPOpt-ML provides a way to easily integrate ML constraints into optimisation problems. Alongside PySCIPOpt-ML, we introduce, SurrogateLIB, a library of MIP instances with embedded ML constraints, and present computational results over SurrogateLIB, providing intuition on the scale of ML predictors that can be practically embedded. The project is available at https://github.com/Opt-Mucca/PySCIPOpt-ML.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 18 of its 49 references that are in the map. First posted on arXiv 13 Dec 2023.
Builds on
18 of 49 references.
References · 18
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2017Provable defenses against adversarial examples via the convex outer adversarial polytopecited by 567
- 2018Strong mixed-integer programming formulations for trained neural networkscited by 115
- 2023When Deep Learning Meets Polyhedral Theory: A Surveycited by 39
- 2022OMLT: Optimization & Machine Learning Toolkitcited by 35
- 2018Global Deterministic Optimization with Artificial Neural Networks Embeddedcited by 33
- 2019ReLU Networks as Surrogate Models in Mixed-Integer Linear Programscited by 33
- 2021Mixed-Integer Optimization with Constraint Learningcited by 31
- 2019JANOS: An Integrated Predictive and Prescriptive Modeling Frameworkcited by 27
- 2018Mixed-Integer Convex Nonlinear Optimization with Gradient-Boosted Trees Embeddedcited by 16
6 more
- 2018Boosting Combinatorial Problem Modeling with Machine Learningcited by 15
- 2023Enabling Research through the SCIP Optimization Suite 8.0cited by 14
- 2020ENTMOOT: A Framework for Optimization over Ensemble Tree Modelscited by 13
- 2021Between steps: Intermediate relaxations between big-M and convex hull formulationscited by 11
- 2023Augmenting optimization-based molecular design with graph neural networkscited by 6
- 2018Predictive and Prescriptive Analytics for Location Selection of Add-on Retail Productscited by 4
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 2.
8 papers.
- 2024Verifying message-passing neural networks via topology-based bounds tighteningcited by 10
- 2024Neur2BiLO: Neural Bilevel Optimizationcited by 4
- 2025CLCR: Contrastive Learning-based Constraint Reordering for Efficient MILP Solvingcited by 2
- 2025MathOptAI.jl: Embed trained machine learning predictors into JuMP modelscited by 2
- 2026Relaxation-Informed Training of Neural Network Surrogate Modelscited by 2
- 2024Tightening convex relaxations of trained neural networks: a unified approach for convex and S-shaped activationscited by 0
- 2025Optimization over Trained (and Sparse) Neural Networks: A Surrogate within a Surrogatecited by 0
- 2026DCEmbed: Scalable Optimization over Neural Surrogatescited by 0
- 2026DCEmbed: Scalable Optimization over Neural Surrogates27 Sep 2026
- 2026Relaxation-Informed Training of Neural Network Surrogate Models24 Apr 2026
- 2025MathOptAI.jl: Embed trained machine learning predictors into JuMP models3 Jul 2025
- 2025Optimization over Trained (and Sparse) Neural Networks: A Surrogate within a Surrogate4 May 2025
- 2025CLCR: Contrastive Learning-based Constraint Reordering for Efficient MILP Solving23 Mar 2025
- 2024Tightening convex relaxations of trained neural networks: a unified approach for convex and S-shaped activations30 Oct 2024
- 2024Verifying message-passing neural networks via topology-based bounds tightening21 Feb 2024
- 2024Neur2BiLO: Neural Bilevel Optimization4 Feb 2024