-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Isolate the "no feasible points" error to objective threshold inferen…
…ce during MOO (#2929) Summary: Pull Request resolved: #2929 ### The problem For a MMO problem, if no thresholds are provided on the objectives, we try to infer them during gen(). If there are outcome constraints, and none of the observed data points are feasible, we cannot infer the thresholds and error out. This is reproduced in N5821958. However, the error makes it look like candidate generation failed, when in fact it is the inference of the thresholds. We could simply suggest the users to provide thresholds if they can and the error will be gone. ### The caveats The same error message are being referenced in multiple places. In particular, it is being used in PosteriorMeanPriorSampler, and acquisition functions for non-MBM models. However, in those cases, we do not actually filter for feasibility/outcome constraints. Instead, we only filter for points where all metrics (objectives and outcome constraints) are attached, and sometimes parameter constraints as well. So in such cases, the error should happen very rarely, and the error message is misleading at best. ### This diff Change the error message to a more actionable when incurred during reference point inference. And change the error from all other places mentioned above to "no observed points" error message. Reviewed By: saitcakmak Differential Revision: D64691734 fbshipit-source-id: f499184046df005bc5771de27304f04b2b9a6fdf
- Loading branch information
1 parent
29226d8
commit 7d37679
Showing
4 changed files
with
18 additions
and
15 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
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
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
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