Open mdorier opened 1 month ago
Ahh, the issue is actually just a bad error message. The issue you are seeing derives from the fact that the default configuration is forbidden, and ConfigSpace
requires the default configuration to be valid.
You can get around this fact by setting a default
on one of them not be round((3 - 0)/ 2) == 2
Thanks, it makes sense, at least it forces the user to provide a valid default configuration, proving that such a configuration exists (otherwise it's a SAT problem).
Good point, from a more practical standpoint, the default is also used internally in configuration neighborhood search, for example, it answers the question that if a conditional was activated that suddenly activated a bunch of new parameters, what should they be set to?
I have this sample code:
which gives me an exception:
If I'm changing
ForbiddenEqualsRelation
toForbiddenGreaterThanRelation
the code works fine, generating configurations such thatx
is always less than or equal toy
. I would expectForbiddenEqualsRelation
to allow me to generate configurations such thatx
is always different fromy
. Am I misunderstanding the use ofForbiddenEqualsRelation
or is there a bug?