Hacker News new | ask | show | jobs
by jwally 1433 days ago
Congrats on shipping!

Do you use linear programming / some other optimization algorithm to hit targets, or is it more like a deficit tracker where you tell it what you ate and it tells you that you need 8 more mcg of zink or whatever?

1 comments

Thanks! MealPlanner generates suggestions through a constraint programming solver, taking into account any foods consumed earlier in the day. The home page tracker shows nutrient consumption (and deficits) for the day.