Skip to content

Commit a16ccc3

Browse files
committed
[documentation] Add a section about automatic sparse differentiation
1 parent 2a9aa78 commit a16ccc3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/src/sparse.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ nlp = ADNLPModel!(f, x0, lvar, uvar, c!, lcon, ucon, jacobian_backend=J_backend,
167167

168168
The section ["providing the sparsity pattern for sparse derivatives"](@ref sparsity-pattern) illustrates this feature with a more advanced application.
169169

170+
## Automatic sparse differentiation (ASD)
171+
172+
For a deeper understanding of how `ADNLPModels.jl` computes sparse Jacobians and Hessians, you can refer to the following blog post: ["An Illustrated Guide to Automatic Sparse Differentiation"](https://iclr-blogposts.github.io/2025/blog/sparse-autodiff/).
173+
It explains the key ideas behind sparse automatic differentiation (ASD), and why this approach is critical for large-scale nonlinear optimization.
174+
170175
### Acknowledgements
171176

172177
The package [`SparseConnectivityTracer.jl`](https://github.com/adrhill/SparseConnectivityTracer.jl) is used to compute the sparsity pattern of Jacobians and Hessians.

0 commit comments

Comments
 (0)