-
Notifications
You must be signed in to change notification settings - Fork 335
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
Boundary Conditions #150
Comments
Hi @jolayfield , welcome! Ok, interesting. I’ve been reading about reflective boundary conditions and it seems a nice feature to have. Looking forward to your pull request! :) Don’t hesitate to ask questions if you’re stuck :) |
Thanks. I would like to ask a few questions:
Thanks |
optimizer = GlobalBestPSO(n_particles=10, dimensions=2, bounds=(lb, ub), bound_type='reflective')
It really depends if it breaks the whole API or anything. If you would change something up, better report it here so we can see and test these changes 👍
Yes, it's advisable to do tests before opening up a PR so we can just focus on reviewing the code than putting out fires 👍 But if you need help, feel free to ask questions here.
You're welcome! |
Hi @jolayfield ! Any updates on this? We're planning a v.0.3.0 release by the end of August. If this feature won't make it next month, we'll just insert this feature on v.0.4.0. There's no rush, what you just need to do is to update your own master branch. We're here to help you anytime! |
Thanks. We just got a working implementation yesterday with my research student. I think there is still some testing to do and we will need to cleanup the input but it is coming along. We will followup when we are sure that things are working properly (hopefully in the next few weeks). |
This has been a bit stale, closing this for now. I'll open this up again if there are already updates 👍 |
High-dimensional searches with the current bounds conditions result in a lot of lost optimization steps where many particles do not move.
Multiple solutions exist to deal with these issues. We want to implement reflective boundary conditions that will keep the particle within the bounds in a way that still samples the whole parameter space.
The text was updated successfully, but these errors were encountered: