Are there any Matlab functions to use for optimization using particle swarm optimization technique?

1 view (last 30 days)
Hi,
Are there any Matlab functions to use for optimization using particle swarm optimization technique? I have a set of MATLAB code that simulates the required outcome and need to integrate that to the Particle Swarm Optimization based toolbox.
Have 2 questions ;
Q1. Is there a readily available MATLAB function that can be used to integrate my set of code that can be used and if yes, how to integrate?
Q2. Is there a readily available cost function that can be used to run number of iterations for code to simulate the run?
Any help is appreciated, thank you.

Answers (3)

Shashank Prasanna
Shashank Prasanna on 13 Mar 2013

Yarpiz / Mostapha Heris
Yarpiz / Mostapha Heris on 12 Sep 2015
Also you can check this, on MATLAB FeX, for a structured implementation of PSO in MATLAB:
You can easily change the CostFunction to any desired objective function and change the number and range of decision variables, to solve optimization problems.

Alan Weiss
Alan Weiss on 16 Sep 2015
particleswarm was introduced into Global Optimization Toolbox in R2014b. There is more documentation here.
Alan Weiss
MATLAB mathematical toolbox documentation

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!