PSO toolbox code with inequality constraints

5 views (last 30 days)
tahseen alshmary
tahseen alshmary on 6 Jul 2021
Answered: Walter Roberson on 6 Jul 2021
Dear all
Nice greeting
How can I use linear inequality constraints with PSO matlab toolbox code.

Answers (1)

Walter Roberson
Walter Roberson on 6 Jul 2021
If you are referring to particleswarm() https://www.mathworks.com/help/gads/particleswarm.html#budidgf-options then it only supports bounds constraints.
If you are referring to https://www.mathworks.com/matlabcentral/fileexchange/7506-particle-swarm-optimization-toolbox then it appears to only supports bounds constraints on the variables, along with maximum velocity.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!