speed comparison of Particle Swarm with user-defined objective function (hopefully parallel)? #592
yezhengli-Mr9
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
speed comparison of Particle Swarm
with user-defined objective function? With other particle swarm implementation (preferably c++)even particles within same swarm, not parallel implementation? Although saw
thread-safediscussion like Passing arguments in a user defined problem #559 (comment)pagmo2/src/algorithms/pso.cpp
Lines 229 to 237 in ac7b6d2
Also checked sample codes for basis cases (without user defined objective nor UD classes involved)
https://esa.github.io/pagmo2/docs/cpp/algorithms/pso.html
https://github.com/esa/pagmo2/blob/master/tests/pso_gen.cpp
https://github.com/esa/pagmo2/blob/master/tests/pso.cpp
pagmo2/tests/pso.cpp
Lines 151 to 156 in ac7b6d2
Thanks
Beta Was this translation helpful? Give feedback.
All reactions