Inside AI

Optimising Diet Plan In Tight Budget-Modelling In Python

A balanced recommended diet with the constraint of the tight budget in this pandemic is a challenge. It can be addressed to some extent with linear optimisation model

Kaushik Choudhury
4 min readOct 14, 2020

--

Photo by Brooke Lark on Unsplash

We all have different sets of goal in our life, and most of the time, there are different approaches to achieve these goals. One of such important goal is to have a balanced diet, and it has additional constraint of the tight budget in this pandemic.

In this article, I will discuss the way we can model our diet requirement with different constraints like budget, energy and fat requirements etc. and get the most optimised diet plan recommendation.

Let us assume that I like to have meat, eggs, broccoli, milk, apple, rice and potatoes. Below table shows the calorie and nutrient content of these food items.

Sample Nutrition Data Used In the Scenario Discussed ( Photo By Author)

Objective: I would like to have the most economical lunch to get a minimum of 1100 calories energy, less than 30 gm fat, less than 80 gm of carbohydrate, less than 5 gm of sugar.

--

--

Kaushik Choudhury

Kaushik Choudhury is an experienced Supply Chain Strategy and Digital Transformation manager in one of the Big 4 Consulting firm in the UK.