Closed zohimchandani closed 3 years ago
Just replace this line: https://github.com/nathanrooy/particle-swarm-optimization/blob/master/pso/pso_simple.py#L104 with: return pos_best_g
return pos_best_g
Just replace this line: https://github.com/nathanrooy/particle-swarm-optimization/blob/master/pso/pso_simple.py#L104 with:
return pos_best_g