-
Notifications
You must be signed in to change notification settings - Fork 251
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
Erroneous sorting in DiagnosticToolbox methods #1516
Comments
@adam-a-a would you be able to provide an example (code snippet) to reproduce this behavior? |
@lbianchi-lbl After attempting to solve a model, m, which has extreme jacobian elements, and assuming you created the following instance of the DiagnosticToolbox (
|
@adam-a-a What we need is an example of a model that exhibits the behaviour. Right now we have no idea why the ordering is not working nor any way to test that we have fixed it. |
I have ascertained that the Diagnostics Toolbox is currently sorting variables and constraints as intended: from most extreme to least extreme, i.e., in order of descending I would like to hear what @adam-a-a and @andrewlee94 think, if they have time. |
@adam-a-a @dallan-keylogic I think the first question needs to be "what a user would expect to see", with the caveat that many users do not really know how to interpret these results. From the numerical standpoint, i.e. from most extreme to least extreme, i.e., in order of descending |
Sorting does not work as expected for methods such as
display_constraints_with_extreme_jacobians
anddisplay_variables with_extreme_jacobians
.Here is a snapshot of output from
display_constraints_with_extreme_jacobians
:The text was updated successfully, but these errors were encountered: