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

Add an interface for debugging the implicit solver Jacobian #2730

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dennisYatunin
Copy link
Member

@dennisYatunin dennisYatunin commented Feb 28, 2024

Purpose

This PR splits the ImplicitEquationJacobian into an ApproxJacobian, an ExactJacobian, and a DebugJacobian. The first option is the Jacobian approximation we've been using until now, while the second option is an exact Jacobian computed using ForwardDiff and inverted using column-wise LU decomposition. The third option can act like either of the other two, and it checks the approximation against the exact computation whenever the exact Jacobian is updated.

This PR also gets rid of some outdated code related to OrdinaryDiffEq in order to simplify the interface design.

To-do

Add some working examples to CI.

Content


  • I have read and checked the items on the review checklist.

@dennisYatunin dennisYatunin force-pushed the dy/jacobian_debugging branch 6 times, most recently from 8f212a8 to 75db91e Compare February 28, 2024 20:12
@dennisYatunin dennisYatunin force-pushed the dy/jacobian_debugging branch 23 times, most recently from 8e230c6 to 9836897 Compare March 2, 2024 22:45
@dennisYatunin dennisYatunin force-pushed the dy/jacobian_debugging branch 5 times, most recently from 1c2a491 to 5aa9095 Compare March 9, 2024 01:17
@dennisYatunin dennisYatunin force-pushed the dy/jacobian_debugging branch 5 times, most recently from 4bcfc65 to 1dc4033 Compare August 26, 2024 23:30
@dennisYatunin dennisYatunin force-pushed the dy/jacobian_debugging branch 17 times, most recently from e7c3e2e to f5d4734 Compare September 20, 2024 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant