File Exchange

image thumbnail

Particle Swarm Optimization (PSO) algorithm

version 1.0.0.0 (8.44 KB) by Milan Rapai
An implementation of PSO algorithm with time-varying parameters.

6 Downloads

Updated 24 Nov 2008

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)

please i want pso m file

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.

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

nice

sshree

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 Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags