-
Notifications
You must be signed in to change notification settings - Fork 162
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
[BUG] gaco hangs when initial population is outside bounds #493
Comments
Any idea @Sceki ?
As I wrote in the other thread, what happens with out-of-bounds conditions is algorithm-dependent. But in any case it should never lead to a hang/crash, and if it does it's a bug. |
I believe that the problem is that this I think there are two possibilities: either we avoid the while loop (i.e., the re-sampling until we satisfy the bounds) for the case in which the user decides that out-of-bounds solutions are acceptable, or we simply do not accept initial populations that are out of bounds. I am a bit busy these days, but I will try to fix it with a PR as soon as possible.. |
yes, a simple throw to reject initial populations out of bounds would be the simplest |
Cheers! Do you think it helps algorithmic performance to allow for out-of-bounds individuals? If you think it does not, then I'd personally be more in favour of throwing, rather than adding another configuration parameter. |
Indeed, another configuration parameter seems a bit too much, and if the bounds are chosen wide enough the performance should be the same, so I will just throw I guess :) |
@Sceki any progress on this ? |
@bluescarni we can close this.. done in #576 :) |
when some points of the initial population are outside the bounds and the objective tend to make it go outside,
gaco can hang:
more generally, do we have to check is the population is inside the bounds before calling pagmo, or do the algorithms will manage to "jump" inside the bounds ?
The text was updated successfully, but these errors were encountered: