Research Article

An Improved Particle Swarm Optimization Algorithm Using Eagle Strategy for Power Loss Minimization

Pseudocode 2

Load objective function
Generate the initial population and velocity of particles
Find global best (at )
While ≤ tolerance or
  Calculate new velocity and position of each particle via (5) and (6)
  Evaluate the new fitness
  If
  
  Update global best
  Update weight
  
end