View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Accelerated Particle Swarm Optimization

5.0 | 1 rating Rate this file 32 Downloads (last 30 days) File Size: 5.37 KB File ID: #29725 Version: 1.0

Accelerated Particle Swarm Optimization


Xin-She Yang (view profile)


Accelerated PSO, Particle Swarm Optimization

| Watch this File

File Information

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.

MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
24 Oct 2011 Xin-She Yang

Xin-She Yang (view profile)

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.

Comment only
24 Oct 2011 Julio Dutra

20 Oct 2011 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)".

Comment only

Contact us