Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up optimize_acqf and _make_linear_constraints #1660

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Member

Summary: Bot was rightly complaining about complexity

Differential Revision: D43012356

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Feb 8, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43012356

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43012356

@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Merging #1660 (c818d69) into main (36d09a4) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main     #1660   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          166       166           
  Lines        14371     14422   +51     
=========================================
+ Hits         14371     14422   +51     
Impacted Files Coverage Δ
botorch/optim/optimize.py 100.00% <100.00%> (ø)
botorch/optim/parameter_constraints.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

esantorella added a commit to esantorella/botorch that referenced this pull request Feb 8, 2023
Summary:
Pull Request resolved: pytorch#1660

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: 999c01a391c84d4b002978b0282caa84c2622bfa
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43012356

esantorella added a commit to esantorella/botorch that referenced this pull request Feb 10, 2023
Summary:
Pull Request resolved: pytorch#1660

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

Reviewed By: Balandat

Differential Revision: D43012356

fbshipit-source-id: 8687b1f4d649dd32cd3d9a0905193843ce16942d
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43012356

esantorella added a commit to esantorella/botorch that referenced this pull request Feb 10, 2023
Summary:
Pull Request resolved: pytorch#1660

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

Reviewed By: Balandat

Differential Revision: D43012356

fbshipit-source-id: 861b4574373a53820d4cc35840c54fceac155e85
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43012356

Summary:
Pull Request resolved: pytorch#1660

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

Reviewed By: Balandat

Differential Revision: D43012356

fbshipit-source-id: 25833cadaf1862a706cfb805f14446dd3dc90a34
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43012356

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in aa38ac4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants