File Exchange

image thumbnail

Particle Swarm Optimization (PSO) algorithm

version 1.0 (8.44 KB) by

An implementation of PSO algorithm with time-varying parameters.

4.33333
3 Ratings

33 Downloads

Updated

View License

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.

Comments and Ratings (11)

Jaspreet Kaur

please i want pso m file

Jaspreet Kaur

please i want pso m file

athira lal

taher zaki

please i want particleswarm.m file (like ga)

Pallab Maji

Thank you. I saved a lot of time.

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

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

Maria

Maria (view profile)

nice

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

nuhman haq

good

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?

MATLAB Release
MATLAB 7.5 (R2007b)
Tags Add Tags

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

» Watch video