Begin
  for   to NP
    Select with probability based on
    if rand(0, 1) <   then
     for   to NP
     Select with probability based on
     ALLOW =
     TS =
     for to
      if rand(0, 1) <   then
       Randomly select an SIV from ALLOW
       Replace a random SIV in with
       ALLOW = ALLOW
       
      end if
     end for
     end for
    end if
  end for
End.
Algorithm 7: Tabu search migration operator of BBO.