Quadratic Programming and Triangular Numbers Ranking to an Optimal Moroccan Diet with Minimal Glycemic Load

  • Karim El moutaouakil Faculty Polydisciplinary of Taza, Sidi Mohamed Ben Abellah University, Morocco
  • Abdellah Ahourag Faculty Polydisciplinary of Taza, Sidi Mohamed Ben Abellah University, Morocco
  • Saliha Chellak Faculty of Medicine and Pharmacy, Cadi Ayyad University of Marrakech, Morocco
  • Mouna Cheggour Faculty of Medicine and Pharmacy, Cadi Ayyad University of Marrakech, Morocco
  • Hicham Baizri Faculty of Medicine and Pharmacy, Cadi Ayyad University of Marrakech, Morocco
  • Abdelkhalak Bahri National School of Applied Sciences, Abdelmalek Essaadi University Tangier, Morocco
Keywords: Quadratic optimization, PSO, Ranking function, Triangular fuzzy numbers, Optimal diet,, Glycemic load


In this work, we suggest a variety of optimal daily diets for people with diabetes in Morocco. To this end, we model the foods glycemic load in term of triangular fuzzy numbers. Then, we model the problem of daily diet in term of fuzzy quadratic optimization programming. To transform this model into a line model, we use a very performance ranking function. To solve the obtained model, we call particles swarm algorithm due to its performance and simplicity. Various experiments were carried out on the basis of feeds available on the Moroccan market and for different sizes of the PSO swarm. The experimental results show that our system proposes optimal diets with a reasonable glycemic load between, acceptable favorable gaps and unfavorable nutrients excesses. We show how to combine the proposed diets to obtain a balanced weekly regime.


A.Aswani , P.Kaminsky, Y.Mintz,E. Flowers, Y.Fukuoka, Behavioral modeling in weight loss interventions, European journal of operational research, vol. 272, no.3, pp.1058–1072,2019.

X.C.Chen,T.R. Wei, J.H.Guo, W.X.Zhou, and al August. Multi-objectives Evolutionary Algorithm with Double-level Archives for Nutritional Dietary Decision Problem, In 2019 9th International Conference on Information Science and Technology (ICIST). IEEE, pp. 419–426, 2019.

S.Namany, T.Al-Ansari, and R. Govindan, Optimisation of the energy, water, and food nexus for food security scenarios, Computers and Chemical Engineering, vol. 129, pp.106513, 2019.

C. W.Leung, E.S.Epel, L.D.Ritchie, P. B.Crawford, and B. ALaraia, Food insecurity is inversely associated with diet quality of lower-income adults, Journal of the Academy of Nutrition and Dietetics, vol. 114, no. 12, pp. 1943–1953, 2014.

I.Fister, I.Fister Jr, and D.Fister, Computational intelligence in sports, Berlin: Springer, 2019.

G.Dantzig , Linear programming and extensions, Princeton university press ,2016.

P.Oreskovic, J.G.Kljusuric , and Z. Satalic, Computer-generated vegan menus: The importance of food composition database choice, Journal of Food Composition and Analysis, vol.37, pp.112–118, 2015.

G.Masset, P.Monsivais, M.Maillot , N.Darmon, and A.Drewnowski, Diet optimization methods can help translate

dietary guidelines into a cancer prevention food plan, The Journal of nutrition, vol. 139, no.8, pp.1541–1548,2009.

M.Donati, D.Menozzi, C.Zighetti, A.Rosi , A.Zinetti, and F.Scazzina, Towards a sustainable diet combining economic,

environmental and nutritional objectives, Appetite, 106, pp.48–57,2016.

K.Van Mierlo, S.Rohmer, and J. C.Gerdessen, A model for composing meat replacers: Reducing the environmental

impact of our food consumption pattern while retaining its nutritional value, Journal of Cleaner Production, 165, pp.930–950,2017.

E.Taniguchi, Concepts of city logistics for sustainable and liveable cities, Procedia-social and behavioral sciences, 151, pp.310–317,2014.

R.Mendes, P.Cortez, M.Rocha , and J.Neves, Particle swarms for feedforward neural network training, In Proceedings of the 2002 International Joint Conference on Neural Networks, IJCNN’02, 2, pp. 1895–1899, IEEE ,2002.

A.You, Dietary guidelines for Americans, US Department of Health and Human Services and US Department of Agriculture ,2015.

M.A.Humayun, R.Elango, R.O.Ball, and P.B. Pencharz, Reevaluation of the protein requirement in young men with the indicator amino acid oxidation technique, The American journal of clinical nutrition, vol.86, no.4, pp.995–1002,2007.

H.Verma, and R.Garg, Effect of magnesium supplementation on type 2 diabetes associated cardiovascular risk factors: a systematic review and meta‐analysis, Journal of human nutrition and dietetics, vol.30, no.5, pp.621–633,2017.

A.Kaufmann , M.MGupta, Introduction to Fuzzy Arithmetic Theory and Applications, Van Nostrand Reinhold, New York ,1985.

T.S.Liou, M.J.Wang, Ranking fuzzy numbers with integral value, Fuzzy Set. Syst. 50 pp.247-–255,1992.

K.El Moutaouakil, A.Touhafi , A New Recurrent Neural Network Fuzzy Mean Square Clustering Method, 2020 5th International Conference on Cloud Computing and Artificial Intelligence: Technologies and Applications (CloudTech), pp.1–5,2020.

K. El Moutaouakil, M. Cheggour, S. Chellak, H. Baizri, Metaheuristics Optimization Algorithm to an Optimal Moroccan Diet, 2021 7th Annual International Conference on Network and Information Systems for Computers (ICNISC).

A. El Ouissari, K. El Moutaouakil, Density based fuzzy support vector machine: application to diabetes dataset, Mathematical modeling and computing, vol. 8, pp. 747–760, 2021.

K. El Moutaouakil, A. El Ouissari, A. Touhafi, N. Aharrane, An Improved Density Based Support Vector Machine (DBSVM), International Conference on Cloud Technologies and Applications (CloudTech), pp. 364–368, 2020.

M.Ettaouil, M. Lazaar, K.Elmoutaouakil, and K.Haddouch , A new algorithm for optimization of the kohonen network architectures using the continuous hopfield networks, wseas transactions on computers, vol.12, no.4, pp.155–163, 2013.

Wang, Dongshu, Dapei Tan, and Lei Liu. Particle swarm optimization algorithm: an overview, Soft Computing 22.2, pp.387–408, 2018.

W. Fang, J.Sun , H.Chen , and Wu, X, A decentralized quantum-inspired particle swarm optimization algorithm with cellular structured population Information Sciences 330, pp.19–48,2016.

How to Cite
El moutaouakil, K., Abdellah Ahourag, Saliha Chellak, Mouna Cheggour, Hicham Baizri, & Abdelkhalak Bahri. (2023). Quadratic Programming and Triangular Numbers Ranking to an Optimal Moroccan Diet with Minimal Glycemic Load. Statistics, Optimization & Information Computing, 11(1), 85-94. https://doi.org/10.19139/soic-2310-5070-1541
Research Articles