ADNLPModel new shiny stuff #111
Replies: 9 comments 22 replies
-
Beta Was this translation helpful? Give feedback.
-
Ping @0Yassine0. |
Beta Was this translation helpful? Give feedback.
-
@PierreMartinon @jbcaillau @ocots @0Yassine0 @gergaud We use a symmetric coloring now instead of a column coloring for the Hessian of the Lagrangian. If you use an optimization solver that needs the Hessian of the Lagrangian (like Ipopt, KNITRO or MadNLP), you will (probably) notice a significant speed-up. In the latest benchmarks, we observed a speed-up greater than x100 🚀 on some problems: These problems likely have a Hessian with an arrowhead form, and exploiting symmetry is particularly important in such cases. Thanks @gdalle for your implementation of the star coloring 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
Not bad at all :D ! |
Beta Was this translation helpful? Give feedback.
-
@PierreMartinon @jbcaillau @ocots @0Yassine0 @gergaud It provides the opportunity to provide the sparsity pattern of the Jacobians and Hessians I also switched to the acycling coloring that I implemented in SparseMatrixColorings.jl for sparse Hessian, More details about the coloring were also added in the documentation: https://jso.dev/ADNLPModels.jl/dev/sparse/ The last release also uses the new major releases of SparseMatrixColorings.jl (v0.4.0) and SparseConnectivyTracer.jl (v0.6.1) |
Beta Was this translation helpful? Give feedback.
-
NB. I updated the benchmark and removed 2 rather instable problems.
Seems we got a 20-40% speed gain, nice ! |
Beta Was this translation helpful? Give feedback.
-
New benchmarks on the ACOPF problems: I think that replacing |
Beta Was this translation helpful? Give feedback.
-
@ocots @jbcaillau @gergaud @tmigot @amontoison @gdalle
The issue with Symbolics has been resolved, however the ADNLPModel topic is still relevant, so I propose we continue it here !
Beta Was this translation helpful? Give feedback.
All reactions