Key features of this model:

  • Description: Select foods that satisfy daily nutritional requirements at minimum cost.
  • Category: Diet.
  • Type: LP.
  • Library: OR-Tools.
  • Solver: GLOP.


  • The model has been modified to run as a Jupyter Notebook.
  • The data has been extracted into a separate file.
  • Output has been formatted to make it easier to read.

GitHub: Diet in OR-Tools.