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

Convergence on local optima #2

Open
Nistha-gif opened this issue Sep 17, 2021 · 1 comment
Open

Convergence on local optima #2

Nistha-gif opened this issue Sep 17, 2021 · 1 comment

Comments

@Nistha-gif
Copy link

Dear Radoslaw,
I am using Deap framwork for solving a variant of multi-depot VRP using PSO. I have observed that the algorithm converges on local optima. As you have solved the problem using GA and PSO. I would really appreciate it if you could update the code of PSO to reduce or eliminate the possibility of convergence on local optima.

@radoslawik
Copy link
Owner

Hello,

Due to a lack of time, I think I will not be able to make any improvements to this project soon. You could try to play with the values of parameters and test them against your specific problem. If you are still not happy with the result, you could try to add new random particles to every iteration (and remove the same amount of particles from the current population if you want to preserve the same size) or add more randomness when calculating their move.

The balance between exploration and exploitation is not a trivial thing, I really like the sentence on the wikipedia:

...determining convergence capabilities of different PSO algorithms and parameters still depends on empirical results.

Good luck with your project! If you find a way to improve the algorithm you can share your thoughts here (or create a pull request if you are motivated)

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

2 participants