A comprehensive model of demand prediction based on hybrid artificial intelligence and metaheuristic algorithms: A case study in dairy industry

Document Type : Research Paper


1 Department of Industrial Engineering, Yazd University, Saffayieh, Yazd, Iran

2 School of Industrial Engineering College of Engineering, University of Tehran P.O. Box: 11155/4563, Tehran, IRAN


This paper presents a multi-stage model for accurate prediction of demand for dairy products (DDP) by the use of artificial intelligence tools including Multi-Layer Perceptron (MLP), Adaptive-Neural-based Fuzzy Inference System (ANFIS), and Support Vector Regression (SVR). The innovation of this work is the improvement of artificial intelligence tools with various meta-heuristic algorithms including Particle Swarm Optimization (PSO), Genetic Algorithm (GA), Invasive Weed Optimization (IWO), and Cultural Algorithm (CA). First, the best combination of factors with can affect the DDP is determined by solving a feature selection optimization problem. Then, the artificial intelligent tools are improved with the goal of making a prediction with minimal error. The results indicate that demographic behavior and inflation rate have the greatest impact on dairy consumption in Iran. Moreover, PSO still exhibits a better performance in feature selection in compare of newcomer meta-heuristic algorithms such as IWO and CA. However, IWO shows the best performance in improving the prediction tools by achieving an error of 0.008 and a coefficient of determination of 95%. The final analysis demonstrates the validity and reliability of the results of the proposed model, as it supports the simultaneous analysis and comparison of the outputs of different tools and methods.


Main Subjects

Adankon, M. M., & Cheriet, M. (2009). Support vector machine. In  Encyclopedia of biometrics (pp. 1303-1308): Springer.
Anand, A., & Suganthi, L. (2018). Hybrid GA-PSO Optimization of Artificial Neural Network for Forecasting Electricity Demand. Energies, 11, 728.
Araromi, D. O., Majekodunmi, O. T., Adeniran, J. A., & Salawudeen, T. O. (2018). Modeling of an activated sludge process for effluent prediction—a comparative study using ANFIS and GLM regression. Environmental Monitoring and Assessment, 190, 495.
Caniato, F., Kalchschmidt *, M., Ronchi, S., Verganti, R., & Zotteri, G. (2005). Clustering customers to forecast demand. Production Planning & Control, 16, 32-43.
Chung, K.-J. (1999). Bounds on the optimum order quantity in a DCF analysis of the EOQ model under trade credit. Journal of Information and Optimization Sciences, 20, 137-148.
Esfahani, H. N., Sobhiyah, M. h., & Yousefi, V. R. (2016). Project Portfolio Selection via Harmony Search Algorithm and Modern Portfolio Theory. Procedia - Social and Behavioral Sciences, 226, 51-58.
Hartzel, K. S., & Wood, C. A. (2017). Factors that affect the improvement of demand forecast accuracy through point-of-sale reporting. European Journal of Operational Research, 260, 171-182.
Hashim, F., Daud, N. N., Ahmad, K., Adnan, J., & Rizman, Z. (2017). Prediction of rainfall based on weather parameter using artificial neural network. Journal of Fundamental and Applied Sciences, 9, 493-502.
Jiang, S., Chin, K.-S., Wang, L., Qu, G., & Tsui, K. L. (2017). Modified genetic algorithm-based feature selection combined with pre-trained deep neural network for demand forecasting in outpatient department. Expert Systems with Applications, 82, 216-230.
Kochak, A., & Sharma, S. (2015). Demand forecasting using neural network for supply chain management. International Journal of Mechanical Engineering and Robotics Research, 4, 96.
Lei, W., Wang, J., Huang, B., & Chen, F. (2016). Research on forecasting the market demand of Sci-tech Service Industry based on improved GMDH algorithm. In  Guidance, Navigation and Control Conference (CGNCC), 2016 IEEE Chinese (pp. 2192-2197): IEEE.
Mehrabian, A. R., & Lucas, C. (2006). A novel numerical optimization algorithm inspired from weed colonization. Ecological informatics, 1, 355-366.
Montajabiha, M., Arshadi Khamseh, A., & Afshar-Nadjafi, B. (2017). A robust algorithm for project portfolio selection problem using real options valuation. International Journal of Managing Projects in Business, 10, 386-403.
Perea, R. G., Poyato, E. C., Montesinos, P., & Díaz, J. A. R. (2018). Optimisation of water demand forecasting by artificial intelligence with short data sets. Biosystems Engineering.
Rangel, H. R., Puig, V., Farias, R. L., & Flores, J. J. (2017). Short-term demand forecast using a bank of neural network models trained using genetic algorithms for the optimal management of drinking water networks. Journal of Hydroinformatics, 19, 1-16.
Reynolds, R. G. (1994). An introduction to cultural algorithms. In  Proceedings of the third annual conference on evolutionary programming (pp. 131-139): World Scientific.
Sherrod, P. H. (2008). DTREG predictive modeling software. Users Manual. Disponível online no url:(http://www. dtreg. com/DTREG. pdf)(Acedido 28 Março 2014).
Slimani, I., El Farissi, I., & Achchab, S. (2015). Artificial neural networks for demand forecasting: Application using Moroccan supermarket data. In  Intelligent Systems Design and Applications (ISDA), 2015 15th International Conference on (pp. 266-271): IEEE.
Sobhani, J., Najimi, M., Pourkhorshidi, A. R., & Parhizkar, T. (2010). Prediction of the compressive strength of no-slump concrete: A comparative study of regression, neural network and ANFIS models. Construction and Building Materials, 24, 709-718.
Wu, Y.-H., & Shen, H. (2018). Grey-related least squares support vector machine optimization model and its application in predicting natural gas consumption demand. Journal of Computational and Applied Mathematics, 338, 212-220.
Yang, Y., Chen, Y., Wang, Y., Li, C., & Li, L. (2016). Modelling a combined method based on ANFIS and neural network improved by DE algorithm: A case study for short-term electricity demand forecasting. Applied Soft Computing, 49, 663-675.
Yazdi, J. S., Kalantary, F., & Yazdi, H. S. (2012). Prediction of elastic modulus of concrete using support vector committee method. Journal of Materials in Civil Engineering, 25, 9-20.
Volume 11, Issue 4 - Serial Number 4
November 2018
Pages 190-203
  • Receive Date: 08 July 2018
  • Revise Date: 15 August 2018
  • Accept Date: 30 October 2018
  • First Publish Date: 14 December 2018