Gurobi Modeling Examples

Explore our modeling examples for the Gurobi Python API

Food Program

The United Nations World Food Program (WFP) supplies food assistance to around 100 million people in 80 countries each year. Transporting food in a global transportation network is a challenging undertaking. In this notebook, we will build an optimization model to set up a food supply chain based on real data from WFP.

The idea is to transport food from cities identified as “suppliers” to beneficiary cities in Syria. The quantity of food arriving at beneficiary cities must be sufficient enough to satisfy basic nutritional needs of the people there. On the other hand, the procurement and transportation of food comes at a cost, and therefore must be done efficiently. In this notebook, we will learn how to set up an optimization problem to achieve a cost-efficient food supply chain.

View the notebook

Google Colab Link


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

© Gurobi Optimization, LLC