フィルターのクリア

Optimization using Particle swarm optimization

8 ビュー (過去 30 日間)
Usman Bashir Tayab
Usman Bashir Tayab 2023 年 2 月 14 日
コメント済み: Usman Bashir Tayab 2023 年 2 月 15 日
Hi Everyone, I have two variables for optimization. x1 = (10,20,30,40,50), x2 = (5,10,15,20,25). Both variables optimum value using Particle swarm optimization (PSO) should be choose from given values above. So i did not understand how to do it with PSO. As both variables have fixed values and optimum value of each variable should be chosen from above values of x1 and x2 by PSO. There is no upper bond and lower bond for PSO. Anyone can help me or guide me to implement it in matlab. Is there any function available in matlab to do it.

回答 (1 件)

Aman
Aman 2023 年 2 月 15 日
編集済み: Aman 2023 年 2 月 15 日
Hi,
I understand that you have an objective function whose value is dependent on “x1” and “x2” and you want to find the optimal value of the function using PSO.
Since you want to find optimal value from a specific set of values of “x1” and “x2”, you could try all the combinations of “x1” and "x2" to get the optimal value and corresponding values of “x1” and “x2”. You can refer the below link to get to know more about discrete integer function optimization.
  1 件のコメント
Usman Bashir Tayab
Usman Bashir Tayab 2023 年 2 月 15 日
Hi Aman, Thank you for answer. I see the link and he mentioned that he did it for PSO. But didn't share any help detail which can help me to solve my problem.

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

カテゴリ

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