- upgrade to any new version of MATLAB
- get a job at MATLAB and convince them to back-fit particleswarm to R2014a
- use one of the several PSO implementations from the File Exchange, or from elsewhere on the Internet
- write your own PSO code
Using particle swarm optimization
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I use Matlab R2014a, when i type "particleswarm" on commad window it is not work. How can I use PSO on this version of Matlab?
0 comentarios
Respuestas (1)
Walter Roberson
el 9 de Abr. de 2016
particleswarm was added in R2014b. Your options are:
1 comentario
Maisa Melo
el 20 de Mzo. de 2019
I am using R2015a Matlab version.
I am using this comand to call PSO function:
U = particleswarm(@(U0) funcaoObjetivo(QP,U0',n,),nvars,lb,ub);
But I would like to know if is possible enter with variables A and a of the inequality linear constraint in the command line function, in similar manner that I can use in genetic algoritm toolbox, as you can see below
U =ga(@(U0) funcaoObjetivo(QP,U0',n),nvarx,A,a);
Ver también
Categorías
Más información sobre Particle Swarm en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!