particle swarm algorithm (PSO)
Ältere Kommentare anzeigen
How can i use linear inequality constraint with particle swarm algorithm (PSO)
Antworten (1)
Alan Weiss
am 31 Okt. 2018
0 Stimmen
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 Kommentare
tahseen alshmary
am 31 Okt. 2018
Alan Weiss
am 31 Okt. 2018
No. Please consult the particleswarm function reference page, or my previous answer.
Alan Weiss
MATLAB mathematical toolbox documentation
nanou
am 15 Nov. 2020
@Alan Weiss I saw in paper intitiled (A Fast and Unified Method to Find a Minimum-Jerk Robot Joint Trajectory Using Particle Swarm-Lin2013) that PSO accept nonlinear constraint (nonlcon).
Alan Weiss
am 15 Nov. 2020
Maybe some PSO implementations accept nonlinear constraints, but the MATLAB Global Optimization Toolbox version does not. You can find the latest function reference page here.
Alan Weiss
MATLAB mathematical toolbox documentation
Lalit Upadhyaya
am 19 Nov. 2021
Please suggest some other sources for implementing linear inequality constraint with particle swarm algorithm (PSO).
Kategorien
Mehr zu Particle Swarm finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!