Research Article
Modified Bat Algorithm Based on Lévy Flight and Opposition Based Learning
| (1) Input the parameters. | | (2) Set . Initialize the position and velocity of each individual in the population. | | (3) Evaluate the objective function and related parameter values of each individual. | | (4) While do | | (5) Apply Lévy Flight Local Search strategy using Algorithm 2. | | (6) Generate new solutions using Eq. (13). | | (7) if | | (8) Apply the Opposition based learning using Algorithm 3. | | (9) Generate a new local solution around the selected solution using Eq. (5). | | (10) end if | | (11) if and | | (12) update the solution, loudness and pulse emission rate. | | (13) end if | | (14) end while | | (15) Output the individual with the smallest objective function value in the population. |
|