Gurobi Modeling Examples

Explore our modeling examples for the Gurobi Python API

Technician Assignment With Mathematical Optimization

Problem

You are consulting for a telecom company that dispatches technicians to perform various tasks for customers, ranging from equipment installations and setups to repairs. Considering various constraints such as:

The goal is to decide:

We use a two-step solution approach, using Mathematical Optimization (MO) in both, to solve this problem.

Repo Guide

The model size is intentionally small to ensure even those without access to a Gurobi license can run the model (check out License Requirement section for more info about the license).

Google Colab

If you like to access the notebooks in Google Colab, click:

Note that you must sign in with a Google account to be able to run the code in Colab.

License Requirement

The problem is modeled using Gurobi Python API. So, a Gurobi license is required to run this model. If you don’t have a license, you can request a free commercial evaluation license or a free academic license here. The data used in the models is small enough to run the model with a Gurobi restricted license (available via pip install gurobi as shown in the notebook).