Constrained Particle Swarm Optimization

Hi,
I have 'N' particles with one-dimensional variable a(=accelration). However, each particle has a different range (lower limit, upper limit). If I want to use PSO to optimize the cost function which includes v (=valocity) and p (=postion) and inequality constraint of [position(N) - position (N-1) >= some value], then how should I do it?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 20 de Feb. de 2018

0 votos

4 comentarios

Mudasser Seraj
Mudasser Seraj el 26 de Feb. de 2018
Thank you
Lalit Upadhyaya
Lalit Upadhyaya el 18 de Nov. de 2021
Dear walter,
The above code does not give correct resuts for LB & UB problems.
Danish Ali
Danish Ali el 22 de Abr. de 2022
Dear Walter,@Walter Roberson
Thank you. However, this code doesn't run well as compare to genetic algorithm. Is there any way, we can improve the results (I have tried Hybrid function too) ? Any suggestions will be appreciated.
Walter Roberson
Walter Roberson el 22 de Abr. de 2022
Is there mathematical reason to expect that particle swarm algorithms will run about as well as genetic algorithm in all cases? Or is there a restricted set of situations in which particle swarm is expected to be as good or better, and if so then does your particular situation fit within those cases?
When the only constraints are LB and UB, then particleswarm() handles that. https://www.mathworks.com/help/gads/particleswarm.html

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

el 20 de Feb. de 2018

Comentada:

el 22 de Abr. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by