Skip to content

Commit

Permalink
Use SLSQP by default for sequential optimization (#124)
Browse files Browse the repository at this point in the history
Summary:
Change is necessary b/c of pytorch/botorch#207
Pull Request resolved: #124

Reviewed By: bletham

Differential Revision: D16210786

Pulled By: Balandat

fbshipit-source-id: 4493c969c7d334fe741ce9611f64f01503bca8f8
  • Loading branch information
Balandat authored and facebook-github-bot committed Jul 12, 2019
1 parent e5b1f5b commit 34b701f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ax/models/torch/botorch_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ def scipy_optimizer(
optimize = joint_optimize
else:
optimize = sequential_optimize
# use SLSQP by default for small problems since it yields faster wall times
if "method" not in kwargs:
kwargs["method"] = "SLSQP"
return optimize(
acq_function=acq_function,
bounds=bounds,
Expand Down

0 comments on commit 34b701f

Please sign in to comment.