Saved in:
Bibliographic Details
Main Authors: Turner, Mark, Chmiela, Antonia, Koch, Thorsten, Winkler, Michael
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2312.08074
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914805984526336
author Turner, Mark
Chmiela, Antonia
Koch, Thorsten
Winkler, Michael
author_facet Turner, Mark
Chmiela, Antonia
Koch, Thorsten
Winkler, Michael
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2312_08074
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle PySCIPOpt-ML: Embedding Trained Machine Learning Models into Mixed-Integer Programs
Turner, Mark
Chmiela, Antonia
Koch, Thorsten
Winkler, Michael
Optimization and Control
Artificial Intelligence
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.
title PySCIPOpt-ML: Embedding Trained Machine Learning Models into Mixed-Integer Programs
topic Optimization and Control
Artificial Intelligence
url https://arxiv.org/abs/2312.08074