Re:Cooking the Books: Optimizing Purchase and Use of Ingredi...
by cmg on Wednesday January 17, 2018 @02:36PM
(#16171010)
Try Meallime. (Not affiliated, but I've been using the free version for a long time.) It doesn't exactly optimize ingredients, but can put together a weekly meal plan for various dietary restrictions and groups ingredients together so you can do one shopping trip for your week.
https://www.mealime.com