-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge create_single_objective_problem_from_botorch and create_multi_o…
…bjective_problem_from_botorch; support constrained MOO (#2722) Summary: Pull Request resolved: #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
- Loading branch information
1 parent
5d91216
commit d691527
Showing
5 changed files
with
194 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.