particle swarm algorithm (PSO)

7 ビュー (過去 30 日間)
tahseen alshmary
tahseen alshmary 2018 年 10 月 31 日
コメント済み: Lalit Upadhyaya 2021 年 11 月 19 日
How can i use linear inequality constraint with particle swarm algorithm (PSO)

回答 (1 件)

Alan Weiss
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
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
Lalit Upadhyaya 2021 年 11 月 19 日
Please suggest some other sources for implementing linear inequality constraint with particle swarm algorithm (PSO).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeParticle Swarm についてさらに検索

タグ

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by