Introduction - If you have any usage issues, please Google them yourself
This is an accelerated PSO (APSO). APSO does not use velocities or any inertia parameter.
A full program for solving nonlinear constrained optimization problem (welded beam design as an example) is provided, which can be extended to solve other continuous optimization problems.