Skip to content

Commit 11a0c6a

Browse files
authored
Fixes issue-436: Constrained optimization does not allow duplicate points (#437)
1 parent bb52f9b commit 11a0c6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bayes_opt/bayesian_optimization.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ def __init__(self,
150150
f,
151151
pbounds,
152152
constraint=constraint_,
153-
random_state=random_state
153+
random_state=random_state,
154+
allow_duplicate_points=self._allow_duplicate_points
154155
)
155156
self.is_constrained = True
156157

0 commit comments

Comments
 (0)