Closed gdalle closed 1 week ago
It's already the case. It's a keyword augment of SparseADHessian
and SparseADJacobian
.
https://github.com/JuliaSmoothOptimizers/ADNLPModels.jl/blob/main/src/sparse_hessian.jl#L24
Where is it documented? Can't find those in the API reference
If it's not documented, users can't know where to change it
Same goes for the coloring algorithm since #244
Let's update everything after that we switch to DifferentiationInterface.jl
.
Roadmap:
@gdalle I'm wondering if we could not use a symmetric_coloring
before rely we rely on DI.jl.
We probably just need to update https://github.com/JuliaSmoothOptimizers/ADNLPModels.jl/blob/main/src/sparse_hessian.jl#L208-L216.
Yes you can, I outlined how to do it in #246.
Done in #249
See the discussion in https://github.com/JuliaSmoothOptimizers/ADNLPModels.jl/pull/230#issuecomment-2151461371