Using Trained Machine Learning Predictors in Gurobi

Event Recap

Machine learning has become a prevalent tool to provide predictive models in many applications, in this webinar relationships between variables of an optimization model in Gurobi will be discussed.

In recent years, machine learning has become a prevalent tool to provide predictive models in many applications. In this talk, we are interested in using such predictors to model relationships between variables of an optimization model in Gurobi. For example, a regression model may predict the demand of certain products as a function of their prices and marketing budgets among other features. We are interested in being able to build optimization models that embed the regression so that the inputs of the regression are decision variables, and the predicted demand can be satisfied.

We propose a python package that aims at making it easy to insert regression models trained by popular frameworks (e.g., scikit-learn, Keras, PyTorch) into a Gurobi model. The regression model may be a linear or logistic regression, a neural network, or based on decision trees. 

 

Presented Materials:

Download the presentation, here.

The repository

Documentation

Price optimization example

Meet the Experts

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.

Search

Gurobi Optimization