| Algorithm 1. Cuckoo search algorithm |
|
Input: , , , M, N Output: 1: while (Number of iterations m < M) do 2: Generate N random nest locations (i = 1,2,…,N) 3: Calculate the objective function value of the initial nest 4: (Levy-flights) Looking for a new nest site (i = 1,2,…,N) 5: Calculate the value of the new nest objective function 6: if ( > ) then 7: = 8: end if 9: With the best solution and the best location for the solution 10: m ← m + 1 11: end while |