Optimizing a diet using Linear Programming (in Julia)
white.ucc.asn.au
white.ucc.asn.au
One diet suggested drinking 32l (~8.5 gallons) of water.
This one was the computed "maximize protein" diet:
status = solve(m) = :Optimal
10 grams Folic acid
1 grams Vitamin C
667 grams Flour, soya
24034 grams Lard
800 grams Suet
845 grams Amino acid or creatine powder
42752 grams Intense sweetener, containing aspartame,
powdered formulation
Almost 43 kg (~94 pounds) of intense sweetener? Sounds healthy!Personally, I think it would be easier to start with one's own dietary approach and try to put that into rules, then optimize it using additional guidelines (or removing some rules) instead of starting with something too loosely defined and letting the program choose different sources randomly.