Abstract
The following work presents a software solution capable of designing general meal plans which approach an optimal match of nutritional characteristics submitted by the user. A thorough review of existing literature indicates the absence of a software solution to this problem in its most general form. Existing solutions tend to address particular forms of the problem in specific contexts, for example, optimising culturally typical diets in response to specific medical conditions. Conversely, this work focuses on developing a nutritional software model with sufficient flexibility to be described as general, paired with a simple, specifically designed optimisation algorithm for working with the proposed prototype system. The resulting software tool can express the following characteristics: arbitrary nutritional content; economic characteristics; binary food-type classifications (e.g. vegetarian); and, because of the optimisation framework, can capture goals for any number of meals; meal composition (combinations of recipes for a given meal at a particular time); a maximum economic cost per meal; and nutritional content within each meal. The work outlines a prototype user interface to enable nutritional data and user goals to be entered and validated. Finally, based on ten specific test problems containing varied dietary goals, a basic algorithm tuning approach is described. The results suggest that the proposed prototype system can address the general meal optimisation problem. There is a discussion of several future developments to improve system capabilities and usability further.
Similar content being viewed by others
Notes
Cultural specificity refers to assumptions about the type of foods typically consumed, the format and timing of meals.
The one displaying a lower fitness value in a maximisation context.
References
Aberg J (2006) Dealing with malnutrition: a meal planning system for elderly. In: AAAI Spring symposium: argumentation for consumers of healthcare, pp 1–7
Agha M, Agha R (2017) The rising prevalence of obesity: part a: impact on public health. Int J Surg Oncol 2(7):e17
Balintfy JL (1964) Menu planning by computer. Commun ACM 7(4):255–259
Bray T et al (2014) The javascript object notation (json) data interchange format
Bulka J, Izworski A, Koleszynska J, Lis J, Wochlik I (2009) Automatic meal planning using artificial intelligence algorithms in computer aided diabetes therapy. In: Proceedings of the 4th international conference on autonomous robots and agents, pp 393–397
Caraffini F, Iacca G (2020) The sos platform: designing, tuning and statistically benchmarking optimisation algorithms. Mathematics 8(5):785
Centers for Disease Control and Prevention. Healthy eating for a healthy weight. https://www.cdc.gov/healthyweight/healthy_eating/index.html. Accessed 13 June 21
Choon NH, Cheah Y-N, Goh OS, Choo Y-H, Basiron H, Kumar YJ (2016) A review on automated menu planning approaches. J Comput Sci 12(12):582–596
Chu P C, Beasley J E (1998) A genetic algorithm for the multidimensional knapsack problem. J Heuristics 4(1):63–86
Collier S Sugar and diabetes
Dantzig GB (1990) The diet problem. Interfaces 20(4):43–47
de Onis M, Blössner M, Borghi E (2010) Global prevalence and trends of overweight and obesity among preschool children. Am J Clin Nutr 09(5):1257–1264
Drummond KE, Brefere LM (2016) Nutrition for foodservice and culinary professionals. Wiley, New York
Eckstein EF (1967) Menu planning by computer: the random approach. J Am Diet Assoc 51 (6):529–533
Eiben AE, Smit SK (2012) Evolutionary algorithm parameters and methods to tune them. In: Hamadi Y, Monfroy E, Saubion F (eds) Autonomous search. Springer, Berlin, pp 15–36
Eiben A E, Smith J E (2015) Introduction to evolutionary computing, 2nd edn. Springer, Heidelberg, p 39
Eiben ÁE, Hinterding R, Michalewicz Z (1999) Parameter control in evolutionary algorithms. IEEE Trans Evol Comput 3(2):124–141
Elsweiler D, Harvey M (2015) Towards automatic meal plan recommendations for balanced nutrition. In: Proceedings of the 9th ACM conference on recommender systems, RecSys ’15. Association for Computing Machinery, New York, pp 313–316
Gaál B, Vassányi I, Kozmann G (2005) A novel artificial intelligence method for weekly dietary menu planning. Methods Inf Med 44(5):655–664
Goldberg DE, Holland JH (1988) Genetic algorithms and machine learning. Mach Learn 95–99
Greer FR, Krebs NF (2006) Optimizing bone health and calcium intakes of infants, children, and adolescents. American Academy of Pediatrics
Hansen N, Ostermeier A (1996) Adapting arbitrary normal mutation distributions in evolution strategies: the covariance matrix adaptation. In: Proceedings of the IEEE, international conference on evolutionary computation, pp 312–317
Harvard School of Public Health The healty eating pyramid. https://www.hsph.harvard.edu/nutritionsource/healthy-eating-pyramid/https://www.hsph.harvard.edu/nutritionsource/healthy-eating-pyramid/. Accessed 13 June 21
Huynh HT, Hoang TM (2020) A novel approach for determining meal plan for gestational diabetes mellitus using artificial intelligence. Comput J 12. bxaa145
IBM (2021) Ibm ilog cpliex optimisation studio. https://www.ibm.com/products/ilog-cplex-optimization-studio. Accessed 22 July 21
Izzard J, Caraffini F, Chiclana F (2021) Code & supporting material for “towards a software tool for general meal optimisation”. https://doi.org/10.21253/DMU.16746085
Jayarathna MIM, Weerakoon WAC (2021) Healthy Sri Lankan meal planner with evolutionary computing approach. In: Proceedings of international conference on sustainable expert systems: ICSES 2020. Springer, Singapore, pp 211–220
Kahraman A, Seven HA (2005) Healthy daily meal planner. In: Proceedings of the 7th annual workshop on genetic and evolutionary computation, GECCO ’05. Association for Computing Machinery, New York, pp 390–393
Lee C, Kim S, Lim C, Kim J, Kim Y, Jung M (2021) Diet planning with machine learning: teacher-forced reinforce for composition compliance with nutrition enhancement. In: Proceedings of the 27th ACM SIGKDD conference on knowledge discovery & data mining, KDD ’21. Association for Computing Machinery, New York, pp 3150–3160
Mák E (2010) Development of a dietary menu planning and counselling software with artificial intelligence. PhD thesis, Semmelweis University, Hungarian Academy of Sciences, Budapest
Mezgec S, Seljak B K (2017) Nutrinet: a deep learning food and drink image recognition system for dietary assessment. Nutrients 9(7)
Mezgec S, Eftimov T, Bucher T, Seljak BK (2019) Mixed deep learning and natural language processing method for fake-food image recognition and standardization to help automated dietary assessment. Public Health Nutr 05(7):1193–1202
Mishra R, Bajpai MK (2021) A priority based genetic algorithm for limited view tomography. Appl Intell 1–15
Moreira RPC, Wanner E, Martins FV C, Sarubbi JFM (2018) An evolutionary mono-objective approach for solving the menu planning problem. In: 2018 IEEE congress on evolutionary computation (CEC), pp 1–8
Morrish N J, Wang S -L, Stevens L K, Fuller J H, Keen H (2001) Mortality and causes of death in the who multinational study of vascular disease in diabetes. Diabetologia 44:S14–21
Mustafa N, Ahmad A et al (2020) idietscore: meal recommender system for athletes and active individuals. Int J Adv Comput Sci Appl 11(12):269–276
Noor NM, Abdul-Rahman S, Sulaiman NS (2016) Quantitative methods and their application in multidisciplinary area, 1st edn. UMM Press, Universiti Utara Malaysia, Malaysia, pp 159–183
Ramos-Pérez J-M, Miranda G, Segredo E, León C, Rodríguez-León C (2020) Application of multi-objective evolutionary algorithms for planning healthy and balanced school lunches. Mathematics 9(1):80
Rapin J, Bennet P, Centeno E, Haziza D, Moreau A, Teytaud O (2020) Open source evolutionary structured optimization. In: Proceedings of the 2020 genetic and evolutionary computation conference companion, GECCO ’20. Association for Computing Machinery, New York, pp 1599–1607
Rezaeipanah A, Matoori SS, Ahmadi G (2021) A hybrid algorithm for the university course timetabling problem using the improved parallel genetic algorithm and local search. Appl Intell 51(1):467–492
Sacks FM, Svetkey LP, Vollmer WM, Appel LJ, Bray GA, Harsha D, Obarzanek E, Conlin PR, Miller ER 3rd, Simons-Morton DG, Karanja N, Lin PH, DASH-Sodium Collaborative Research Group (2001) Effects on blood pressure of reduced dietary sodium and the dietary approaches to stop hypertension. N Engl J Med 344(1):3–10
Segredo E, Miranda G, Ramos JM, Leon C, Rodriguez-Leon C (2020) Schoolthy: automatic menu planner for healthy and balanced school meals. IEEE Access 8:113200–113218
Seljak BK (2009) Computer-based dietary menu planning. J Food Compos Anal 22(5):414–420
Stevens GA, Singh GM, Lu Y, Danaei G, Lin JK, Finucane MM, Bahalim AN, McIntire RK, Gutierrez HR, Cowan M (2012) National, regional, and global trends in adult overweight and obesity prevalences. Popul Health Metr 10(1):1–16
Sulistiani QDA, Irawan B, Setianingsih C (2020) Dietary habits for toddler growth using particles swarm optimization algorithms. In: 2020 2nd International conference on cybernetics and intelligent system (ICORIS), pp 1–6
Syed FH, Tahir MA, Rafi M, Shahab MD (2021) Feature selection for semi-supervised multi-target regression using genetic algorithm. Appl Intell 1–24
Wang YC, McPherson K, Marsh T, Gortmaker SL, Brown M (2011) Health and economic burden of the projected obesity trends in the usa and the uk. Lancet 378(9793):815–825
Wang L, Guo Y, Dalip B, Xiao Y, Urman RD, Lin Y (2021) An experimental study of objective pain measurement using pupillary response based on genetic algorithm and artificial neural network. Appl Intell 1–12
World Health Organization Healthy diet. https://www.who.int/news-room/fact-sheets/detail/healthy-diet. Accessed 13 June 21
Wulandhari LA, Isa SM et al (2019) Optimum nutrition intake from daily dietary recommendation for indonesian children using binary particle swarm optimization algorithm. Procedia Comput Sci 157:16–24
Funding
No funding was received for conducting this study.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Ethics approval and consent to participate
Not Applicable
Consent for publication
Not Applicable
Conflict of interest/Competing interests
The authors have no conflicts of interest to declare that are relevant to the content of this article.
Additional information
Supplementary information
The source code and all configurations files for testing the software are available via the institutional Figshare repository at [26]. Note that this is currently a private repository shared via the provided link. If the journal accepts the paper for publication, the DOI will be activated to make the paper public.
Availability of data and materials
Source code includes complete database used for testing.
Code availability
Our code is provided via an archive and a GitHub link through the institutional Figshare repository at [26].
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Izzard, J., Caraffini, F. & Chiclana, F. Towards a software tool for general meal optimisation. Appl Intell 53, 7751–7775 (2023). https://doi.org/10.1007/s10489-022-03935-0
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10489-022-03935-0