How to solve this problem using PSO?
古いコメントを表示
Hi all,
I have some problem using pso algoithm.
fcn = @(x) x(1) + x(2) + x(3)
lb = [-40 -40 -40];
ub = [40 40 40];
nvars = 3;
x = particleswarm(fun,nvars,lb,ub);
In this code, I want to 8.8 <= x(1)+x(2)+x(3) <= 79.2 (constraint)
But I don't know use this expression.
Plz help ..
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Particle Swarm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!