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://kr.mathworks.com/matlabcentral/fileexchange/44070-diet-problem-in-linear-programming), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Food Sciences에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0