Skip to content

Commit f6cde7f

Browse files
authored
polish & clean code (#566)
* Fix acq min bug * Update docs, make `random_state` not a property of acqs * fix giving bad seeds to l-bfgs-b * remove debug code * Relax constraint.approx test slightly * GPHedge: ensure random state * nitpick fixes * Make constraints work with parameter types * Use `deepcopy` when copying constraint in `ConstantLiar` * Move the instantiation of `ConstraintModel` * Update warning * remove unnecessary random state storing * Remove unnecessary import * Add a `.random_sample` function to the optimizer
1 parent 2c78f7c commit f6cde7f

File tree

6 files changed

+358
-310
lines changed

6 files changed

+358
-310
lines changed

0 commit comments

Comments
 (0)