-
Notifications
You must be signed in to change notification settings - Fork 311
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
Merge create_single_objective_problem_from_botorch and create_multi_objective_problem_from_botorch; support constrained MOO #2722
Conversation
This pull request was exported from Phabricator. Differential Revision: D61877865 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2722 +/- ##
=======================================
Coverage 95.40% 95.40%
=======================================
Files 490 490
Lines 47828 47829 +1
=======================================
+ Hits 45631 45633 +2
+ Misses 2197 2196 -1 ☔ View full report in Codecov by Sentry. |
This pull request was exported from Phabricator. Differential Revision: D61877865 |
…bjective_problem_from_botorch; support constrained MOO (facebook#2722) Summary: Pull Request resolved: facebook#2722 Context: These functions have a lot of overlapping functionality. Combining them makes it easier to extend their functionality (for example, by supporting constrained MOO). This PR: * Combines `create_single_problem_objective_from_botorch` and `create_multi_objective_problem_from_botorch` into `create_problem_from_botorch` * Reads `lower_is_better` off the test problem -- BoTorch test problems assume minimization unless `negate` is set to True -- instead of requiring the user to pass it (multi-objective problems used to always have lower_is_better=True, so this is more accurate and prevents mismatch) * Adds support for constrained MOO problems from Botorch * Remove stub for constrained MOO problem that only existed to test for an exception that is no longer raised Differential Revision: D61877865
aa6c931
to
f10b46b
Compare
…bjective_problem_from_botorch; support constrained MOO (facebook#2722) Summary: Pull Request resolved: facebook#2722 Context: These functions have a lot of overlapping functionality. Combining them makes it easier to extend their functionality (for example, by supporting constrained MOO). This PR: * Combines `create_single_problem_objective_from_botorch` and `create_multi_objective_problem_from_botorch` into `create_problem_from_botorch` * Reads `lower_is_better` off the test problem -- BoTorch test problems assume minimization unless `negate` is set to True -- instead of requiring the user to pass it (multi-objective problems used to always have lower_is_better=True, so this is more accurate and prevents mismatch) * Adds support for constrained MOO problems from Botorch * Remove stub for constrained MOO problem that only existed to test for an exception that is no longer raised Reviewed By: Balandat Differential Revision: D61877865
This pull request was exported from Phabricator. Differential Revision: D61877865 |
f10b46b
to
d691527
Compare
…bjective_problem_from_botorch; support constrained MOO (facebook#2722) Summary: Pull Request resolved: facebook#2722 Context: These functions have a lot of overlapping functionality. Combining them makes it easier to extend their functionality (for example, by supporting constrained MOO). This PR: * Combines `create_single_problem_objective_from_botorch` and `create_multi_objective_problem_from_botorch` into `create_problem_from_botorch` * Reads `lower_is_better` off the test problem -- BoTorch test problems assume minimization unless `negate` is set to True -- instead of requiring the user to pass it (multi-objective problems used to always have lower_is_better=True, so this is more accurate and prevents mismatch) * Adds support for constrained MOO problems from Botorch * Remove stub for constrained MOO problem that only existed to test for an exception that is no longer raised Differential Revision: D61877865 Reviewed By: Balandat
This pull request has been merged in 6a9ef95. |
Summary:
Context: These functions have a lot of overlapping functionality. Combining them makes it easier to extend their functionality (for example, by supporting constrained MOO).
This PR:
create_single_problem_objective_from_botorch
andcreate_multi_objective_problem_from_botorch
intocreate_problem_from_botorch
lower_is_better
off the test problem -- BoTorch test problems assume minimization unlessnegate
is set to True -- instead of requiring the user to pass it (multi-objective problems used to always have lower_is_better=True, so this is more accurate and prevents mismatch)Differential Revision: D61877865