Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parallel pyswarms not working #514

Open
peterfakhry opened this issue Jun 9, 2023 · 0 comments
Open

parallel pyswarms not working #514

peterfakhry opened this issue Jun 9, 2023 · 0 comments

Comments

@peterfakhry
Copy link

Describe the bug
Thank you so much for this amazing package, been using it since 2018 now. I tried the following code to parallel process particle evaluation. The problem is that nothing happens when i run the code and i can not stop the console as well. Can you please help on that
best_cost, best_particle = optimizer.optimize(my_mdl.pso_optimize, iters=iterations,n_processes=4)

Expected behavior
Expected to run faster as particles being solved at the same time

Environment (please complete the following information):

  • OS: [Windows ]
  • Version [11]
  • PySwarms Version [v.1.3.0]
  • Python Version [3.10.9]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant