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

The Newton solver should also be able to get a Jacobian during construction #306

Open
eike-fokken opened this issue Jun 4, 2022 · 0 comments

Comments

@eike-fokken
Copy link
Owner

At the moment we re-construct the Jacobian on every optimization step.
But the sparsity structure of the jacobian never changes, so we could hand in the jacobian from the previous step.
This would remove the need to re-allocate the jacobian on every optimization step.
(In code this means, we could dispense with "set_from_triplets" in all but the first optimization step).

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

No branches or pull requests

1 participant