Research Article

A Particle Swarm Optimization Variant with an Inner Variable Learning Strategy

Algorithm 2

Procedure of PSO-IVL.
Initialize the position and velocity      for each particle ;
Let and calculate the ;
Set ;
Initialize parameters , , , , and
While ( )
 For  1: 
    If   /*determine whether particle gets trapped*/
     If &&
  
    Execute the strategy of InnerVariableLearning( );
   ; /*increase the number of fitness evaluations*/
End if
    End if
If 
Execute the strategy of InnerVariableLearning( );
;
End if
/*Update the position and velocity of the th particle*/
;
;
  If
;
  Execute the strategy of InnerVariableLearning( );
;
Else
;
End if
If  
;
  End if
End for
If     is the optimal solution
     Break;
End if
;
End while