ljvmiranda921 / pyswarms

A research toolkit for particle swarm optimization in Python
https://pyswarms.readthedocs.io/en/latest/
MIT License
1.27k stars 333 forks source link

init_pos does not seem to work as expected #506

Open dkgupta90 opened 1 year ago

dkgupta90 commented 1 year ago

HI @ljvmiranda921 , Thank you making this toolkit available publicly. I am trying to work with the init_pos argument but it does not seem to work as expected. My init_pos matrix has a size of (697, 9). When I pass it, I expect the objective value to be same at iteration 1 if I run the code many times. However, the best objective value that I get after iteration 1 differs across multiple runs. Could you please let me know in case I am missing something in the working here?