These Jupyter Notebook modeling examples illustrate important features of the Gurobi Python API modeling objects, such as adding decision variables, building linear expressions, adding constraints, and adding an objective function for a mathematical optimization model. In addition, they explain more advanced features such as generalized constraints, piece-wise linear functions, multi-objective hierarchical optimization, as well as typical types of constraints such as allocation constraints, balance constraints, sequencing constraints, precedence constraints, etc. These modeling examples also show how the modeling objects of Gurobi and the typical type of constraints can be used in different contexts.
These modeling examples:
-Illustrate broad applicability of mathematical optimization.
-Show how to build mathematical optimization models.
-Are coded using the Gurobi Python API in Jupyter Notebook.