The first try he ended up with a diet that required 500 gallons of vinegar a day. There was a mistake in the data that give vinegar 0 weight.
The second try ended up with 200 bouillon cubes per day. He didn't put a limit on salt content.
Then it gave him 2 pounds of bran per day. And when he put a limit on that, it changed to two pounds of black molasses. His wife put a stop to it after that.
Optimization is very dangerous when applied in large quantities. The vast majority of good solutions of any high dimensional problem will end up in weird edge cases.