MATLAB: Use Particle Swarm Optimization with inequality linear constraints.

inequality linear constraintparticle swarm optimization

I would like to know how can I use Particle Swarm Optimization with inequality linear constraints.
I get to run my code just with bounds limits, but I need run my code with linear constraints also, I need the sintax of function PSO.

Best Answer

Hi,
there is not such a syntax, since PSO does not support constraints. If you need constraints i suggest to use ga, which is able to handle this.
Best regards
Stephan