Research Article

Gradient-Based Cuckoo Search for Global Optimization

Algorithm 1

Simplified algorithm of the cuckoo search algorithm.
begin
 Objective function
 Generate initial population of host nests
while (t < MaxGeneration)
  Get a cuckoo randomly by Lévy flights
  Evaluate its quality/fitness
  Choose a nest among n (say, j) randomly
  If ( )
    Replace j by the new solution
  end
  A fraction ( ) of nests are abandoned at random and new ones are built via random walk
  Keep the best solutions
  Rank the solutions and find the current best
end while
 Postprocess results
end