Explore our modeling examples for the Gurobi Python API
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.
resource_assignment notebook.
technician_routing notebook and
or even modify it as you please to get new results. Ensure the format of the output is similar
in case you like to use the resource_assignment notebook afterward.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).
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.
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).