-
Notifications
You must be signed in to change notification settings - Fork 214
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
Particle Swarm #944
Comments
this is a known behaviour, as Particle swarm will always use the maximum number of iterations. the bug is in the display of the output, not in the result. this happens because the algorithm can't know if the current best solution is the solution to the optimization problem, so its determined to be the result given at the last iteration. |
Ok longemen3000, thanks. |
Yeah, it's a bit of a strange thing to print. Particle swarm is never meant to "settle down", it will always try to escape any local optimum (but will often return if it was indeed at the global optimum). It should be changed so I'll keep it open. |
Thanks. |
Hello everyone. I need help to understand Particle Swarm a bit. In the following example, the answer is right, but the Status seems to contradict. And why does Particle Swarm always exhaust the number of interactions? Even if you increase the number of interactions, it will still run out. Thank you.
The text was updated successfully, but these errors were encountered: