thread safety of pagmo::population methods #550
montanaviking
started this conversation in
General
Replies: 2 comments 2 replies
-
That is provided by the migration machanism why not using it? |
Beta Was this translation helpful? Give feedback.
1 reply
-
An MPI island is indeed missing, I think @bluescarni had some old plans on how to port it to pagmo2 ... are there alternatives though at this point? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to link the evolving values of different islands together so that one islands dv cannot deviate too far from that of its neighbors. To do this, I would the problem of one island to know the champion decision vector (champion dv) of that of its neighbor dynamically during evolution.
My question is:
Is it thread safe to call one island pagmo::population.champion_x() from a different thread? For example, e.g. from the fitness method in another island's problem?
Thanks,
Phil
Beta Was this translation helpful? Give feedback.
All reactions