PSO toolbox code with inequality constraints

Dear all
Nice greeting
How can I use linear inequality constraints with PSO matlab toolbox code.

Answers (1)

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

Asked:

on 6 Jul 2021

Answered:

on 6 Jul 2021

Community Treasure Hunt

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

Start Hunting!