Research Article

PCB Drill Path Optimization by Combinatorial Cuckoo Search Algorithm

Pseudocode 2

Pseudocode of the combinatorial cuckoo search algorithm.
begin
 Evaluation Matrix
 Objective function ;
 Generate initial population of host nest;
 Evaluate fitness and rank eggs;
while ( > MaxGeneration) or Stop criterion
  
  Best cuckoo performs Lévy flights and lay eggs (say ) in all nests;
  Evaluate quality/fitness, ;
  if  
    Replace current solution with new solution
  end if
     New eggs (say ) are laid by host birds via Lévy flights
      with a mutation fraction of ;
     Evaluate quality/fitness, ;
     if   )
       Replace current solution with new solution
     end if
      Rank the solutions and find current best
    end while
Post process results and visualization
end