International Journal of Science and Research (IJSR)

International Journal of Science and Research (IJSR)
Open Access | Fully Refereed | Peer Reviewed

ISSN: 2319-7064


Downloads: 54 | Monthly Hits: ⮙1

Research Paper | Statistics | India | Volume 10 Issue 1, January 2021


Application of R Programming in Solution and Sensitivity Analysis of Diet Problem of Indian Men

Pratibha Lakhani, Pooja Manjre


Abstract: Diet problem is an application of Linear programming problem (LPP). Linear programming is a technique of Operations Research for determining an optimum schedule of interdependent activities in view of the available resources. The word programming means determining the plan of action from amongst several alternatives and the word linear refers to the fact that the relationships involved are linear. The various nutrients like carbohydrates, proteins, fats, vitamins and minerals in different food items like jawar, rice, milk, beetroot, banana, sesame seeds, etc. are helpful for maintenance, growth, reproduction and health of human beings. R is a widely used programming language and freely available software for statistical computing. This paper is the study of determining the optimum solution and analyzing its sensitivity for diet problem of sedentary and moderate working men in India. We solved this problem by using R programming. In this paper the various food items are taken as decision variables and constraints are designed corresponding to different nutrients. In the construction of constraints we have assumed that any intake of more than the minimum requirement of nutrients is not harmful to the human body. Here the objective is to find the optimum solution that is to find the quantity of food items that should be consumed to minimize the cost of diet which will fulfil the minimum requirement of nutrients for these two types of men.


Keywords: Nutrients, Diet, lpSolveAPI, lpSolve, Reduced cost, Shadow price


Edition: Volume 10 Issue 1, January 2021,


Pages: 904 - 908


How to Cite this Article?

Pratibha Lakhani, Pooja Manjre, "Application of R Programming in Solution and Sensitivity Analysis of Diet Problem of Indian Men", International Journal of Science and Research (IJSR), https://www.ijsr.net/get_abstract.php?paper_id=SR21116235137, Volume 10 Issue 1, January 2021, 904 - 908

How to Share this Article?

Enter Your Email Address


Similar Articles with Keyword 'Nutrients'

Downloads: 53

Research Paper, Statistics, India, Volume 9 Issue 12, December 2020

Pages: 1556 - 1561

Forecasting of Cotton Production in Nagpur District of Maharashtra India

Mayuri Barai, Gangesh Yadav, Abhay Khamborkar

Share this Article

Downloads: 120

Research Paper, Statistics, India, Volume 6 Issue 5, May 2017

Pages: 1891 - 1897

Forecasting Anthrax in Livestock in Karnataka State using Remote Sensing and Climatic Variables

Suma A P, Suresh K P, Gajendragad M R, Kavya B A

Share this Article
Top