-
Notifications
You must be signed in to change notification settings - Fork 40
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
Various fixes #1443
Various fixes #1443
Conversation
@@ -519,6 +523,8 @@ def sens_from_dual(self, la, nu, result): # pylint: disable=unused-argument | |||
self.relax_sensitivity = la | |||
if self.sgp_parent: | |||
self.sgp_parent.relax_sensitivity = la | |||
if getattr(self.sgp_parent, "sgp_parent", None): | |||
self.sgp_parent.sgp_parent.relax_sensitivity = la |
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.
Why are there two layers of sgp_parent here?
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.
Oh let me guess, because you can have relaxations and SP approximations?
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.
yup.
"%+6.2g" % c.relax_sensitivity, id(c), c) | ||
for c in self.model.flat() | ||
if c.relax_sensitivity >= tight_senss] | ||
except AttributeError: |
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.
Agree that this is a better error message!
test models please |
No description provided.