bofire icon indicating copy to clipboard operation
bofire copied to clipboard

feature request: domain checks that it makes sense (i.e. that specified constraints can be fulfilled)

Open rosonaeldred opened this issue 2 years ago • 2 comments

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

rosonaeldred avatar Apr 20 '23 09:04 rosonaeldred

@jkleinekorte ?

rosonaeldred avatar Apr 24 '23 07:04 rosonaeldred

@DavidWalz "standard feature for solvers" something something

rosonaeldred avatar Apr 24 '23 07:04 rosonaeldred