-
Notifications
You must be signed in to change notification settings - Fork 519
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
Fix PyROS UncertaintySet.bouding_problem
Method
#2659
Fix PyROS UncertaintySet.bouding_problem
Method
#2659
Conversation
@@ -348,7 +348,7 @@ def parameter_bounds(self): | |||
""" | |||
raise NotImplementedError | |||
|
|||
def bounding_model(self): | |||
def bounding_model(self, config=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should describe this new argument in the docstring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See subsequent commit
Codecov ReportBase: 87.06% // Head: 87.06% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2659 +/- ##
=======================================
Coverage 87.06% 87.06%
=======================================
Files 757 757
Lines 84293 84293
=======================================
+ Hits 73386 73389 +3
+ Misses 10907 10904 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Summary/Motivation:
The method
pyros.UncertaintySet.bounding_model
may require access to the subordinate global optimizer passed to the PyROS solver, depending on the type of the uncertainty set passed to the solver. In particular, this requirement holds for the PyROSIntersectionSet
.Changes proposed in this PR:
config
argument toUncertaintySet.bounding_problem
.IntersectionSet
.Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: