4 ms·
From the fortune files: This is the first numerical problem I ever did. It demonstrates the power of computers: Enter lots of data on calorie & n
by derleth 14y ago
From the fortune files:
This is the first numerical problem I ever did. It demonstrates the
power of computers:
Enter lots of data on calorie & nutritive content of foods. Instruct
the thing to maximize a function describing nutritive content, with a
minimum level of each component, for fixed caloric content. The
results are that one should eat each day:
1/2 chicken
1 egg
1 glass of skim milk
27 heads of lettuce.
-- Rev. Adrian Melott
- sciboy 14y agoThis was our assignment for an AI class many years ago - take USDA and a GA with constraints set by users to generate meal plans. I remember being told to eat a kilo of salt :)
- StavrosK 14y agoThat sounds like an insult. "Hey, buddy! Go eat a kilo of salt!"
- rimantas 14y agoI think I saw the similar story, but the requirement was to get the cheapest version. The result was 10 liters of vinegar, iirc.
- blogkitten 14y agoI tried it and lunch was "2c. whole milk + .5c green beans" and dinner was fruit juice + potatoes. Ah, computers.