Introduction To Mathematical Optimization Modeling

Objective and Prerequisites

The goal of this modeling example is to introduce the key components in the formulation of mixed integer programming (MIP) problems. For each component of a MIP problem formulation, we provide a description, the associated Python code, and the mathematical notation describing the component.

To fully understand the content of this notebook, the reader should:

  • Be familiar with Python.
  • Have a background in any branch of engineering, computer science, economics, statistics, any branch of the “hard” sciences, or any discipline that uses quantitative models and methods.

The reader should also consult the documentation of the Gurobi Python API. This notebook is explained in detail in our series of tutorial videos on mixed integer linear programming. You can watch these videos by clicking here and you can download the repository containing for this and other examples by clicking here.



Request a Gurobi Evaluation License or Free Academic License

Modeling examples are coded using the Gurobi Python API in Jupyter Notebook. In order to use the Jupyter Notebooks, you must have a Gurobi License. If you do not have a license, you can request an Evaluation License as a Commercial User or download a free license as an Academic User.

Commercial Users: Free Evaluation Version Academic Users: Free Academic Version



Access the Jupyter Notebook Modeling Example

Click on the button below to be directed to the GitHub HTML page, where you can download the repository Introduction to Mathematical Optimization Modeling.

Introduction To Mathematical Optimization Modeling