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

handle constraints in qSimpleRegret #2141

Closed
wants to merge 1 commit into from

Conversation

sdaulton
Copy link
Contributor

@sdaulton sdaulton commented Dec 8, 2023

Summary:
This fixes two issues:

  1. constraints could be passed to qSimpleRegret, but would error out if the objective was negative.
  2. constraints were not used in the input constructor for qSimpleRegret in any fashion.

This now enforces that constraints cannot be passed to qSimpleRegret, and instead, they must be passed via a ConstrainedMCObjective. This diff also constructs the appropriate ConstrainedMCObjective in the input constructor.

Differential Revision: D51964703

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Dec 8, 2023
@facebook-github-bot
Copy link
Contributor

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

sdaulton added a commit to sdaulton/botorch that referenced this pull request Dec 8, 2023
Summary:

This fixes two issues:
1. `constraints` could be passed to `qSimpleRegret`, but would error out if the objective was negative.
2. `constraints` were not used in the input constructor for `qSimpleRegret` in any fashion.

This now enforces that constraints cannot be passed to `qSimpleRegret`, and instead, they must be passed via a `ConstrainedMCObjective`. This diff also constructs the appropriate `ConstrainedMCObjective` in the input constructor.

Differential Revision: D51964703
@facebook-github-bot
Copy link
Contributor

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

Summary:

This fixes two issues:
1. `constraints` could be passed to `qSimpleRegret`, but would error out if the objective was negative.
2. `constraints` were not used in the input constructor for `qSimpleRegret` in any fashion.

This now enforces that constraints cannot be passed to `qSimpleRegret`, and instead, they must be passed via a `ConstrainedMCObjective`. This diff also constructs the appropriate `ConstrainedMCObjective` in the input constructor.

Reviewed By: Balandat

Differential Revision: D51964703
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b717268.

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