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

Support functions with a sparse Jacobian #115

Closed
mohamed82008 opened this issue Aug 24, 2021 · 1 comment
Closed

Support functions with a sparse Jacobian #115

mohamed82008 opened this issue Aug 24, 2021 · 1 comment

Comments

@mohamed82008
Copy link
Member

We can support functions with a sparse Jacobian using a struct SparseJacFunc which wraps a vector-valued function. When constructing this function, the sparsity pattern can be input by the user or inferred using ModelingToolkit then an adjoint rule can be defined using this sparse Jacobian and SparseDiffTools. This can be its own package or can live in SparseDiffTools.

@mohamed82008
Copy link
Member Author

This is already implemented in NonconvexUtils and documented in the Nonconvex docs https://julianonconvex.github.io/Nonconvex.jl/stable/gradients/sparse/.

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