particle swarm algorithm (PSO)
7 次查看(过去 30 天)
显示 更早的评论
How can i use linear inequality constraint with particle swarm algorithm (PSO)
0 个评论
回答(1 个)
Alan Weiss
2018-10-31
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 个评论
Alan Weiss
2020-11-15
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
2021-11-19
Please suggest some other sources for implementing linear inequality constraint with particle swarm algorithm (PSO).
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle Swarm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!