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

Check for feasibility in gen_candidates_scipy and error out for infeasible candidates #2737

Closed
wants to merge 1 commit into from

Conversation

saitcakmak
Copy link
Contributor

Summary:
As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves #2708

Also includes a couple lint fixes in optimizer tests.

Differential Revision: D69314159

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

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

Copy link

codecov bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.99%. Comparing base (8770fa4) to head (bf9a56b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2737   +/-   ##
=======================================
  Coverage   99.99%   99.99%           
=======================================
  Files         203      203           
  Lines       18691    18689    -2     
=======================================
- Hits        18690    18688    -2     
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Feb 7, 2025
…sible candidates (pytorch#2737)

Summary:

As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves pytorch#2708

Also includes a couple lint fixes in optimizer tests.

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

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

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Feb 7, 2025
…sible candidates (pytorch#2737)

Summary:

As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves pytorch#2708

Also includes a couple lint fixes in optimizer tests.

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

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

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Feb 7, 2025
…sible candidates (pytorch#2737)

Summary:

As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves pytorch#2708

Also includes a couple lint fixes in optimizer tests.

Reviewed By: esantorella

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

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

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Feb 7, 2025
…sible candidates (pytorch#2737)

Summary:

As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves pytorch#2708

Also includes a couple lint fixes in optimizer tests.

Reviewed By: esantorella

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

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

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Feb 7, 2025
…sible candidates (pytorch#2737)

Summary:

As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves pytorch#2708

Also includes a couple lint fixes in optimizer tests.

Reviewed By: esantorella

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

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

…sible candidates (pytorch#2737)

Summary:

As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves pytorch#2708

Also includes a couple lint fixes in optimizer tests.

Reviewed By: esantorella

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

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

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Feb 8, 2025
…sible candidates

Summary:
X-link: pytorch/botorch#2737

As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves pytorch/botorch#2708

Also includes a couple lint fixes in optimizer tests.

Reviewed By: esantorella

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

This pull request has been merged in 104df60.

facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Feb 8, 2025
…sible candidates (#3335)

Summary:
Pull Request resolved: #3335

X-link: pytorch/botorch#2737

As titled. Previously, it was possible to return infeasible candidates to the user, with or without warnings alerting the user to the issue. This diff makes it so that the optimizer will error out when infeasible candidates are generated, so that the user can adjust the setup as needed.

Resolves pytorch/botorch#2708

Also includes a couple lint fixes in optimizer tests.

Reviewed By: esantorella

Differential Revision: D69314159

fbshipit-source-id: ccbc759274b2ae0fc2b38fa19d0e95abf35a2928
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.

[Bug]: optimize_acqf_mixed does not respect parameter constraint with fixed features
2 participants