particle swarm algorithm (PSO)

8 views (last 30 days)
tahseen alshmary
tahseen alshmary on 31 Oct 2018
Commented: Lalit Upadhyaya on 19 Nov 2021
How can i use linear inequality constraint with particle swarm algorithm (PSO)

Answers (1)

Alan Weiss
Alan Weiss on 31 Oct 2018
Sorry, particleswarm does not accept any constraints except for bounds. I suggest that you use patternsearch instead, which accepts all types of constraints, and is usually more efficient than particleswarm anyway. If you need to look for a global optimum, try the suggestion here for multiple starting points.
Alan Weiss
MATLAB mathematical toolbox documentation
  5 Comments
Lalit Upadhyaya
Lalit Upadhyaya on 19 Nov 2021
Please suggest some other sources for implementing linear inequality constraint with particle swarm algorithm (PSO).

Sign in to comment.

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by