Here's a story of a guy who used the same method to come up with the optimal diet for himself: https://www.gwern.net/docs/statistics/decision/1990-dantzig.... 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 poun…
Culinary and psychological satisfaction is a valid target for optimization, otherwise the individual will drop the diet and endanger the quality of nutrition, given a limited budget. Or he might outright commit suicide after the second week, not healthy at all.