Research Article

Heuristic-Based Firefly Algorithm for Bound Constrained Nonlinear Binary Optimization

Algorithm 3

HBFA with mBS.
Data: , ,
Set  ;
Randomly generate , ;
Discretize position of firefly : , ;
Compute , rank fireflies (from lowest to largest );
while    and   do
  forall    such that   do
   forall    such that   do
     Compute randomization term;
     Compute attractiveness based on distance ;
     Move binary position of firefly towards  
     using ;
     Discretize position of firefly : ;
  Compute , rank fireflies (from lowest to largest  );
  Set ;