| Algorithm 1. Particle Swarm Optimization Procedure |
| Input: Objective function , number of particles , dimension , inertia weight , acceleration coefficients , , max iterations Initialize particle positions and velocities for = 1 to Initialize personal bests , evaluate Set For to DO For to DO Update velocity Update position Evaluate fitness If then If then END IF END IF END FOR END FOR return , Output: Global best position and value |