(1) set population size SN and dimension of solution
  // Randomly generate the initial value of chaotic variable
(2) for   to   do
(3) 
(4) while     do
(5)  
(6) end while
(7) end for
  // The iterative process of chaotic initialization
(8) for   to SN  do
(9) for   to   do
(10)  
(11)  
(12)  end for
(13) end for
Algorithm 2: Chaotic initialization.