Diet Problem in Linear Programming

The goal of Diet problem is to minimize the cost of food satisfying nutrient constraints.

現在この提出コンテンツをフォロー中です。

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.

引用

Sathyanarayan Rao (2026). Diet Problem in Linear Programming (https://jp.mathworks.com/matlabcentral/fileexchange/44070-diet-problem-in-linear-programming), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersFood Sciences についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0