Code covered by the BSD License  

Highlights from
Particle Swarm Optimization (PSO) algorithm

4.5
4.5 | 2 ratings Rate this file 131 Downloads (last 30 days) File Size: 8.44 KB File ID: #22228

Particle Swarm Optimization (PSO) algorithm

by

 

An implementation of PSO algorithm with time-varying parameters.

| Watch this File

File Information
Description

A flexible implementation of PSO algorithm with time-varying parameters. Algorithm is suitable for solving continuous optimization problems. Special care has been taken to enable flexibility of the algorthm with respect to its parameters and to initial population selection. Detailed logging of the algorithm performance during the search is also enabled.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
20 Jun 2014 Pallab Maji

Thank you. I saved a lot of time.

10 Apr 2014 EPHANTUS MWANGI

Please provide PSO codes for optimizing greenhouse parameters i.e temperature,humidity and light intensity.

Comment only
15 Dec 2013 Neeraj Bhanot

Please suggest any general algorithm in which i can suitably change the objective function and constraints , though i have tried few commands like

>> pso('Sin',1,[0,pi/2], 0)

but there is always coming some error in its directory.

Thanks

Comment only
05 Nov 2013 Maria

Maria (view profile)

nice

Comment only
28 Mar 2012 sshree

sshree (view profile)

WHAT ARE YOU OPTIMISING ACTUALLY FROM YOUR CODE???
I AM NOT GETTING WHAT ACTUALLY u HAVE IMPLEMENTED ...
obj = @(x) x*x';
[xopt, fopt] = pso(obj, 5);
BY THIS TWO LINE WHAT U MEANT KINDLY ELABORATE WHAT IS THE TIME PARAMETER YOU ARE OPTIMISING...
MAIL ME IF U CAN PROVIDE DETAILS....
ankitshivhare.nitd@gmail.com

Comment only
27 Dec 2011 nuhman haq

good

22 Feb 2009 kamazas kamazinis

Listen, something is wrong with your, code and it doesnt work somehow, i tried to fixed it but unfortunately. Does if work for you?(what Matlab version do you use?

Comment only

Contact us