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

Report Numerical Issues does not issue a warning for a singular Jacobian #1437

Open
dallan-keylogic opened this issue Jun 15, 2024 · 1 comment
Assignees
Labels
diagnostics Priority:Normal Normal Priority Issue or PR

Comments

@dallan-keylogic
Copy link
Contributor

When troubleshooting issues revealed by #1395, I encountered this:

====================================================================================
Model Statistics

    Jacobian Condition Number: 9.195E+14

------------------------------------------------------------------------------------
1 WARNINGS

    WARNING: 54 pairs of variables are parallel (to tolerance 1.0E-08)

------------------------------------------------------------------------------------
6 Cautions

    Caution: 72 Variables with value close to zero (tol=1.0E-08)
    Caution: 84 Variables with extreme value (<1.0E-04 or >1.0E+04)
    Caution: 8 Variables with None value
    Caution: 74 Variables with extreme Jacobian values (<1.0E-04 or >1.0E+04)
    Caution: 54 Constraints with extreme Jacobian values (<1.0E-04 or >1.0E+04)
    Caution: 76 extreme Jacobian Entries (<1.0E-04 or >1.0E+04)

------------------------------------------------------------------------------------
Suggested next steps:

    display_near_parallel_variables()

====================================================================================

This matrix is more-or-less singular, which is why it's shocking that we're not issuing a warning for it.

@ksbeattie
Copy link
Member

This requires #1429 and will also require many models to improve their scaling. A working session with all the owners of the impacted models is being organized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagnostics Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

No branches or pull requests

2 participants