Explore our modeling examples for the Gurobi Python API
We revisit a problem from modeling sessions in Opti 101 and 201. Given demand data produced by a hypothetical machine learning model, as well as transportation costs and production capacity, determine the optimal production and shipment of widgets from a set of production facilities to distribution locations that minimize cost.
We also take a deep dive into a nonlinear regression problem modeling envyme kinetics.
We also put completed versions of the modeling notebook and the exercise in the repo. If you want to work through the notebooks without everything filled in make sure not to open the completed versions.
Note that you must sign in with a Google account to be able to run the code in Colab.
Google Colab Link - Exercise Set 1 without answers
Google Colab Link - Exercise Set 1 with answers
Google Colab Link - Nonlinear Regression Exercise without answers
Google Colab Link - Nonlinear Regression Exercise with answers
For details on licensing or on running the notebooks, see the overview on Modeling Examples
© Gurobi Optimization, LLC