| Algorithm 2. Optimization of (53) via CPSO |
| Input:, and |
| Output: The optimal |
| Initialization:, particle swarm |
| Repeat |
| 1: Calculate the fitness value of each individual in on (53); |
| 2: Find the individual in with least fitness value; |
| 3: ; |
| 4: ; |
| 5: Reproduce particle swarm around ; |
| 6: Update by (55); |
| 7: Check the termination criterion by (54); |
| Until convergence |