Rain optimization algorithm (ROA): Inspired by the Raindrop’s behaviour used for the Application of Forecasting Rainfall using Machine Learning Strategies

Join 372 other subscribers

1. Introduction

A new optimization algorithm called Rain optimization Algorithm (ROA) [1] is validated by applying on computationally expensive benchmark problems [2]. ROA mimics the natural behavior of raindrops trickling down a hill (high position) towards a valley (low position) [3].

Fig 1: Rain Optimization Algorithm

2. Inspiration of ROA

The main inspiration of ROA is from raindrop behavior [4]. Raindrops naturally trickle down along a slope from a peak then form the rivers and always reach to the lowest land points or empty out into the sea which is as represented as the figure below;

Fig 2: Inspiration of ROA

3. Numerical expression of ROA

RFO starts with an initial population as raindrops [5]. If the population size is Z, the drop number DN is defined as in Equation below;

Where n is the number of optimization variables, V is the variable of optimization problem.

Rain-fall deals with raindrops during an optimization process. It is generated according to uniform random distribution function and subject to all the constraints as mentioned by the below equation,

Where Uni is the uniform distribution function. Uln, LIn lower and upper limits of n. A point in drops neighborhood, generated randomly during optimization and it is represented as,

Where R is the the real positive vector representing the neighborhood drop NP.  is the unit vector of n th dimension. Among all the neighbor points of drop, the dominant neighbor point DNP is a point that satisfies as represented by an equation

FD is the functions for drop. The optimization when there is no dominant neighbor point for a raindrop such that the raindrops status is inactive the explosion process is carried out so the drop gets out from this situation is expressed as,

NP(exp) is the number of neighbor points in normal condition with no explosion. EB is the explosion base and EC is the explosion counter.

The Raindrop’s rank in each iteration of the optimization process, the ranks of all the raindrops are calculated according to Equation as below,

Where OF1 and  OF2 the absolute change in objective functions from the first iteration at iteration n for raindrop FD. φ1 and φ2 weighting coefficients [6].

4. Advantages of ROA

Fig 3: Advantages of ROA

5. A rainwater control optimization design approach for self-organizing industrials feature map neural network model

To address the problems of high overflow rate of rainfall efficiency, a rainwater control optimization design approach based on a self-organizing feature map neural network model (SOFM) was addressed [7]. This model can adjust various parameters of the rainwater network and the green infrastructure, and use these parameters as parameters for rainfall runoff simulation [8], it has provided a better decision-making basis for industries for rainwater control design and effectively avoids flooding while overflow of raining [9].

Fig 4: Techniques of rainwater control optimization design

6. Forecasting rainfall using machine learning strategies based on weather radar data

Weather forecasting had always been one of the major technologically and scientifically challenging issues around the world [10]. Climate change is one significant and lasting transformation in statistical distributions of the weather patterns. To proceed with all this process, for classifying the predictions and implemented [11]. The implemented is using random forest classifier RFC), XG Boost, and neural networks. The better accuracy will be given by neural networks [12]. The radar data are collected the data. After collecting the data, the model is trained using above approaches, and the model is tested to check the accuracy of the results [13].

Fig 5: Forecasting rainfall using machine learning strategies

7. Pseudo Code of ROA

Fig 6: Pseudo code of ROA

8. Applications of ROA

The ROA is applied for solving constrained engineering optimization problems [14]. Economic dispatch problem has been solved by ROA [15].


[1]A. Mazzini and E. Khamehchi, “Rain optimization algorithm (ROA): A new metaheuristic method for drilling optimization solutions”, Journal of Petroleum Science and Engineering, vol. 195, p. 107512, 2020. Available: 10.1016/j.petrol.2020.107512.

[2]”The importance of the treatment plant performance during rain to acute water pollution”, Water Science and Technology, vol. 34, no. 3-4, 1996. Available: 10.1016/0273-1223(96)00549-5.

[3]S. Agway Kaboli, J. Selvaraj and N. Rahim, “Rain-fall optimization algorithm: A population based algorithm for solving constrained optimization problems”, Journal of Computational Science, vol. 19, pp. 31-42, 2017. Available: 10.1016/j.jocs.2016.12.010.

[4]A. Rafieerad et al., “GEP-based method to formulate adhesion strength and hardness of Nb PVD coated on Ti–6Al–7Nb aimed at developing mixed oxide nanotubular arrays”, Journal of the Mechanical Behavior of Biomedical Materials, vol. 61, pp. 182-196, 2016. Available: 10.1016/j.jmbbm.2016.01.028.

[5]R. Sarker, S. Elsayed and T. Ray, “Differential Evolution with Dynamic Parameters Selection for Optimization Problems”, IEEE Transactions on Evolutionary Computation, vol. 18, no. 5, pp. 689-707, 2014. Available: 10.1109/tevc.2013.2281528.

[6]P. Gorman, M. Gregory and D. Werner, “Design of Ultra-Wideband, Aperiodic Antenna Arrays With the CMA Evolutionary Strategy”, IEEE Transactions on Antennas and Propagation, vol. 62, no. 4, pp. 1663-1672, 2014. Available: 10.1109/tap.2013.2287904.

[7]M. Modiri-Delshad, S. Aghay Kaboli, E. Taslimi-Renani and N. Rahim, “Backtracking search algorithm for solving economic dispatch problems with valve-point effects and multiple fuel options”, Energy, vol. 116, pp. 637-649, 2016. Available: 10.1016/j.energy.2016.09.140.

[8]M. Modiri-Delshad and N. Rahim, “Multi-objective backtracking search algorithm for economic emission dispatch problem”, Applied Soft Computing, vol. 40, pp. 479-494, 2016. Available: 10.1016/j.asoc.2015.11.020.

[9]T. Ngo, A. Sadollah and J. Kim, “A cooperative particle swarm optimizer with stochastic movements for computationally expensive numerical optimization problems”, Journal of Computational Science, vol. 13, pp. 68-82, 2016. Available: 10.1016/j.jocs.2016.01.004.

[10]T. Liao, T. Stützle, M. Montes de Oca and M. Dorigo, “A unified ant colony optimization algorithm for continuous optimization”, European Journal of Operational Research, vol. 234, no. 3, pp. 597-609, 2014. Available: 10.1016/j.ejor.2013.10.024.

[11]M. Singh, B. Panigrahi and A. Abhyankar, “Optimal coordination of electro-mechanical-based overcurrent relays using artificial bee colony algorithm”, International Journal of Bio-Inspired Computation, vol. 5, no. 5, p. 267, 2013. Available: 10.1504/ijbic.2013.057196.

[12]S. He, Q. Wu and J. Saunders, “Group Search Optimizer: An Optimization Algorithm Inspired by Animal Searching Behavior”, IEEE Transactions on Evolutionary Computation, vol. 13, no. 5, pp. 973-990, 2009. Available: 10.1109/tevc.2009.2011992.

[13]S. Kaboli, J. Selvaraj and N. Rahim, “Long-term electric energy consumption forecasting via artificial cooperative search algorithm”, Energy, vol. 115, pp. 857-871, 2016. Available: 10.1016/j.energy.2016.09.015.

[14]S. Kaboli, J. Selvaraj and N. Rahim, “Long-term electric energy consumption forecasting via artificial cooperative search algorithm”, Energy, vol. 115, pp. 857-871, 2016. Available: 10.1016/j.energy.2016.09.015.

[15]A. Gandomi and X. Yang, “Chaotic bat algorithm”, Journal of Computational Science, vol. 5, no. 2, pp. 224-232, 2014. Available: 10.1016/j.jocs.2013.10.002.

Join 372 other subscribers

Leave a Reply

%d bloggers like this: