Research Article

Evolutionary Algorithm with Roulette-Tournament Selection for Solving Aquaculture Diet Formulation

Algorithm 3

Algorithm for roulette-tournament selection.
While population size < pop_size  do
   Generate pop_size random number r
   Calculate cumulative fitness, total fitness () and sum of proportional fitness (Sum)
   Spin the wheel pop_size times
   If  Sum <   then
    Select the first chromosome, otherwise, select th chromosome
   End If
End While
For chromosome to pop_size
   Choose two chromosomes randomly from list of selected chromosome
   If fitness chromosome 1 > fitness chromosome 2
    Select chromosome 1, otherwise, select chromosome 2
   End If
End For