File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
baybe/recommenders/pure/bayesian Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -370,12 +370,18 @@ def _recommend_continuous_without_cardinality_constraints(
370
370
raw_samples = self .n_raw_samples ,
371
371
fixed_features = fixed_parameters or None ,
372
372
equality_constraints = [
373
- c .to_botorch (subspace_continuous .parameters , batch_size = batch_size )
373
+ c .to_botorch (
374
+ subspace_continuous .parameters ,
375
+ batch_size = batch_size if c .is_interpoint else None ,
376
+ )
374
377
for c in subspace_continuous .constraints_lin_eq
375
378
]
376
379
or None ,
377
380
inequality_constraints = [
378
- c .to_botorch (subspace_continuous .parameters , batch_size = batch_size )
381
+ c .to_botorch (
382
+ subspace_continuous .parameters ,
383
+ batch_size = batch_size if c .is_interpoint else None ,
384
+ )
379
385
for c in subspace_continuous .constraints_lin_ineq
380
386
]
381
387
or None ,
You can’t perform that action at this time.
0 commit comments