Are there any Matlab functions to use for optimization using particle swarm optimization technique?
Show older comments
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
on 13 Mar 2013
0 votes
Have you tried searching file exchange? Here's a submission :
Yarpiz / Mostapha Heris
on 12 Sep 2015
0 votes
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
on 16 Sep 2015
0 votes
particleswarm was introduced into Global Optimization Toolbox in R2014b. There is more documentation here.
Alan Weiss
MATLAB mathematical toolbox documentation
Categories
Find more on Particle Swarm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!