Diet Problem in Linear Programming

The goal of Diet problem is to minimize the cost of food satisfying nutrient constraints.
873 download
Aggiornato 24 ott 2013

Visualizza la licenza

This code uses MATLAB inbuilt LP solver (linprog). There are 3 nutrients in the problem ( Carbohydrates , proteins and fat) which can be in between some minimum and maximum for a healthy diet. Objective here is to find cheapest diet satisfying nutrients requirement. There are five types of food with its cost. In this particular problem, Rice and Broccoli happens to be the cheapest diet. This file is for illustrating optimization in linear programming and not a suggestion for a healthy diet.

Cita come

Sathyanarayan Rao (2026). Diet Problem in Linear Programming (https://it.mathworks.com/matlabcentral/fileexchange/44070-diet-problem-in-linear-programming), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2013a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Food Sciences in Help Center e MATLAB Answers
Versione Pubblicato Note della release
1.0.0.0