Meal plan calculator designed to minimize monthly food costs.
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.
- pandas
- numpy
- gurobipy
See requirements.txt
file.
Free to use for any purpose