Particle Swarm Optimization evaluates a point multiple times

2 ビュー (過去 30 日間)
Yigithan Mehmet Kose
Yigithan Mehmet Kose 2024 年 1 月 8 日
編集済み: Torsten 2024 年 1 月 8 日
Hello, I use particleswarm optimization with default options for 3 variables. I realized that the algorithm evaluates the function at a point (which lies at boundaries) several times. This didn't sound meaningful to me, is it normal or does it indicate a problem?
  3 件のコメント
Yigithan Mehmet Kose
Yigithan Mehmet Kose 2024 年 1 月 8 日
It has been about 10 hours and it did not converge yet. I realized this and wanted to ask
Torsten
Torsten 2024 年 1 月 8 日
編集済み: Torsten 2024 年 1 月 8 日
Did you try "conventional" optimizers first, e.g. "fmincon" ? Do they have problems with your case ?
Concerning your question: We don't know your problem and we don't know the solver you use. But even if we had this information: I think it's impossible to answer whether it's usual for the solver that the function is evaluated several times in some points. It would be inefficient, but who knows how the code works in detail ?

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by