Research Article

PCB Drill Path Optimization by Combinatorial Cuckoo Search Algorithm

Pseudocode 1

Pseudocode of the cuckoo search algorithm.
begin
   Objective function
   Generate initial population of host nest
   Evaluate fitness and rank eggs
   while ( > MaxGeneration) or Stop criterion
    
    Get a cuckoo randomly/generate new solution by Lévy flights
    Evaluate quality/fitness,
    Choose a random nest
    if  
     Replace by the new solution
    end if
    Worst nest is abandoned with probability and new nest is built
      Evaluate fitness and Rank the solutions and find current best
   end while
      Post process results and visualization
end