Skip to content

Diet calculator designed to create a schedule for meals to minimize monthly food cost and ensure daily calories

License

Notifications You must be signed in to change notification settings

avkhimen/diet_cost_optimizer

Repository files navigation

Meal plan calculator

Meal plan calculator designed to minimize monthly food costs.

Description

First, fill in information in calories_of_ingredients.py, food_costs.py, and recipes.py files. Then run all cells in sequence in main.ipynb file. The last cell will output the diet plan that should be followed.

Mixed-integer linear programming is performed using Gurobi optimizer. This must be installed ahead of time and requires a commercial or academic license.

Getting Started

Dependencies

  • pandas
  • numpy
  • gurobipy

See requirements.txt file.

License

Free to use for any purpose

About

Diet calculator designed to create a schedule for meals to minimize monthly food cost and ensure daily calories

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages