bofire
bofire copied to clipboard
feature request: domain checks that it makes sense (i.e. that specified constraints can be fulfilled)
See #163
Constraint cannot be satisfied with given example.
Would be nice (for randomly generating things, but also more generally -- testing?) to have the functionality in domain (as a class method) to check that the constraints can be fulfilled given the limits on inputs/outputs.
Probably should be decorated with a @validator tag.
Or is this actually already there somewhere?
I skimmed https://github.com/experimental-design/bofire/blob/d0f4d76dd08dab256ffa9fe47dbf1e0623c17c66/bofire/data_models/domain/domain.py
@jkleinekorte ?
@DavidWalz "standard feature for solvers" something something