parallel pyswarms not working
peterfakhry opened this issue · 0 comments
peterfakhry commented
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]