Skip to content

Commit

Permalink
Clean up optimize_acqf and _make_linear_constraints
Browse files Browse the repository at this point in the history
Summary:
Bot was rightly complaining about complexity
- pulled out method to validate inputs for `_make_linear_constraints`
- introduced a dataclass to contain and validate the inputs for `optimize_acqf`
- `optimize_acqf` now calls one of three different `optimize_acqf_[name]` functions

Differential Revision: D43012356

fbshipit-source-id: 431043d48c50f3daa41650bfeff6784ac3571c46
  • Loading branch information
esantorella authored and facebook-github-bot committed Feb 8, 2023
1 parent 0b9ff31 commit 1bc3727
Show file tree
Hide file tree
Showing 4 changed files with 400 additions and 268 deletions.
Loading

0 comments on commit 1bc3727

Please sign in to comment.