You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See pytorch/botorch#1220 for context. BoTorch does support inequality constraints (and probably also equality constraints) with knowledge gradient, as long as they are not inter-point. That means that when the indices field of a constraint is 1d, it's okay, but when it's 2d, there will be an error.
ifinequality_constraintsisnotNone:
indices, _, __=inequality_constraintsifindices.ndim>=2:
raiseUnsupportedError(
"Inter-point constraints are not yet supported for KnowledgeGradient!"
)
Then there will be some further work needed to use the constraints in the 1d case.
The text was updated successfully, but these errors were encountered:
See pytorch/botorch#1220 for context. BoTorch does support inequality constraints (and probably also equality constraints) with knowledge gradient, as long as they are not inter-point. That means that when the
indices
field of a constraint is 1d, it's okay, but when it's 2d, there will be an error.Currently, Ax will error if any inequality constraints are provided, even though constraints that are not inter-point will work. So this error can become
Then there will be some further work needed to use the constraints in the 1d case.
The text was updated successfully, but these errors were encountered: