New answers tagged


This is feasible to compute in fairly fast (polynomial) time with linear programming. This problem seems like a poster problem for linear programming where you specify a set of equalities and inequalities, e.g. tomato between 0 and 100 grams, apple between 0 and 100 grams and then if each gram of a tomato has 1 mg of vitamin X and each gram of an apple has 2 ...

Top 50 recent answers are included