File Exchange

image thumbnail

Accelerated Particle Swarm Optimization

version (5.37 KB) by Xin-She Yang
Accelerated PSO, Particle Swarm Optimization


Updated 15 Dec 2010

View License

This is an accelerated PSO (APSO), developed by Xin-She Yang in 2008. 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.

Cite As

Xin-She Yang (2020). Accelerated Particle Swarm Optimization (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Adisorn Owatsiriwong

Thank you very much.

Xuhong Yang


Xin-She Yang

Thanks. "n=size(ns,1)" is better, as "length" only returns the longer size. For example, a=rand(4,8) is a two-dimensional array, then use "n=length(a), it will give n=8.

Julio Dutra

Julio Dutra

Thank you very much for the codes. It is working quite well to my problem. However, I think there is a mistyping in the function "findrange". In this case, where we have "n=length(ns)", it should be "n=size(ns,1)".

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux