Skip to main content
. 2022 Oct 26;214:119009. doi: 10.1016/j.eswa.2022.119009
Step 1: Generate initial population for leader’s Pop (Create random population (nPop));
Step 2: Evaluate population (nPop)) to create fitness values
Step 3: Sort ' 'leader's population and save the best solution;
Step 4:  While (Not termination condition) do:
   Select P1 and P2 by roulette wheel selection;
   Apply crossover to P1 and P2 and obtain two offspring's P′1 and P′2
   Evaluate P′1 and P′2
   Generate P (n+1) from P1 and P2, P′1 and P′2
   Set n:=n+1
  End.
Step 5: Stop.