Skip to main content

Advertisement

Log in

Towards a software tool for general meal optimisation

  • Published:
Applied Intelligence Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18

Similar content being viewed by others

Notes

  1. Cultural specificity refers to assumptions about the type of foods typically consumed, the format and timing of meals.

  2. The one displaying a lower fitness value in a maximisation context.

References

  1. Aberg J (2006) Dealing with malnutrition: a meal planning system for elderly. In: AAAI Spring symposium: argumentation for consumers of healthcare, pp 1–7

  2. Agha M, Agha R (2017) The rising prevalence of obesity: part a: impact on public health. Int J Surg Oncol 2(7):e17

    Article  Google Scholar 

  3. Balintfy JL (1964) Menu planning by computer. Commun ACM 7(4):255–259

    Article  Google Scholar 

  4. Bray T et al (2014) The javascript object notation (json) data interchange format

  5. 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

  6. Caraffini F, Iacca G (2020) The sos platform: designing, tuning and statistically benchmarking optimisation algorithms. Mathematics 8(5):785

    Article  Google Scholar 

  7. 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

  8. 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

    Article  Google Scholar 

  9. Chu P C, Beasley J E (1998) A genetic algorithm for the multidimensional knapsack problem. J Heuristics 4(1):63–86

    Article  MATH  Google Scholar 

  10. Collier S Sugar and diabetes

  11. Dantzig GB (1990) The diet problem. Interfaces 20(4):43–47

    Article  Google Scholar 

  12. 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

    Article  Google Scholar 

  13. Drummond KE, Brefere LM (2016) Nutrition for foodservice and culinary professionals. Wiley, New York

    Google Scholar 

  14. Eckstein EF (1967) Menu planning by computer: the random approach. J Am Diet Assoc 51 (6):529–533

    Article  Google Scholar 

  15. 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

  16. Eiben A E, Smith J E (2015) Introduction to evolutionary computing, 2nd edn. Springer, Heidelberg, p 39

    Book  Google Scholar 

  17. Eiben ÁE, Hinterding R, Michalewicz Z (1999) Parameter control in evolutionary algorithms. IEEE Trans Evol Comput 3(2):124–141

    Article  Google Scholar 

  18. 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

  19. 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

    Article  Google Scholar 

  20. Goldberg DE, Holland JH (1988) Genetic algorithms and machine learning. Mach Learn 95–99

  21. Greer FR, Krebs NF (2006) Optimizing bone health and calcium intakes of infants, children, and adolescents. American Academy of Pediatrics

  22. 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

  23. 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

  24. Huynh HT, Hoang TM (2020) A novel approach for determining meal plan for gestational diabetes mellitus using artificial intelligence. Comput J 12. bxaa145

  25. IBM (2021) Ibm ilog cpliex optimisation studio. https://www.ibm.com/products/ilog-cplex-optimization-studio. Accessed 22 July 21

  26. 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

  27. 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

  28. 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

  29. 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

  30. 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

  31. Mezgec S, Seljak B K (2017) Nutrinet: a deep learning food and drink image recognition system for dietary assessment. Nutrients 9(7)

  32. 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

    Google Scholar 

  33. Mishra R, Bajpai MK (2021) A priority based genetic algorithm for limited view tomography. Appl Intell 1–15

  34. 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

  35. 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

    Article  Google Scholar 

  36. 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

    Google Scholar 

  37. 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

    Google Scholar 

  38. 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

    Article  Google Scholar 

  39. 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

  40. 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

    Article  Google Scholar 

  41. 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

    Article  Google Scholar 

  42. 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

    Article  Google Scholar 

  43. Seljak BK (2009) Computer-based dietary menu planning. J Food Compos Anal 22(5):414–420

    Article  Google Scholar 

  44. 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

    Article  Google Scholar 

  45. 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

  46. Syed FH, Tahir MA, Rafi M, Shahab MD (2021) Feature selection for semi-supervised multi-target regression using genetic algorithm. Appl Intell 1–24

  47. 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

    Article  Google Scholar 

  48. 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

  49. World Health Organization Healthy diet. https://www.who.int/news-room/fact-sheets/detail/healthy-diet. Accessed 13 June 21

  50. 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

    Article  Google Scholar 

Download references

Funding

No funding was received for conducting this study.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fabio Caraffini.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10489-022-03935-0

Keywords

Navigation