Gurobi Modeling Examples

Explore our modeling examples for the Gurobi Python API

Mixed Integer Linear Programming Tutorial

The goal of the modeling examples is to introduce the key components in the formulation of mixed integer programming (MIP) problems. The models are part of the Mixed Integer Linear Programming Tutorial. This video tutorial takes you through the foundationsal principles of Mixed-Integer Linear programming (MILP). You wil learn why MILP is important, methods for solving a MIP problem, the advantages of using MIP instead of heuristics, and more.

Start the tutorial

To get started with this video series, go to Mixed Integer Linear Programming Tutorial

View the notebooks

Google Colab to Jupyter Notebook-1: Resource Assignment Problem Formulation (Chapter 5)

Google Colab to Jupyter Notebook-2: Perfect Formulation Resource Assignment Problem (Chapter 7)

Google Colab to Jupyter Notebook-3: Why MIP Is Better than Simple Heuristics (Chapter 12)

Google Colab to Jupyter Notebook for Assignment Problem Formulation (combining Notebook-1 and-2, with comments in notebook)


For details on licensing or on running the notebooks, see the overview on Modeling Examples

© Gurobi Optimization, LLC