-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add tutorial with manual sparsity pattern #209
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #209 +/- ##
=======================================
Coverage 95.18% 95.18%
=======================================
Files 14 14
Lines 1642 1642
=======================================
Hits 1563 1563
Misses 79 79 ☔ View full report in Codecov by Sentry. |
This is a tuto on adding manually the sparsity pattern, but not the results expected tbh... https://jso.dev/ADNLPModels.jl/previews/PR209/sparsepattern/ |
superseded by #286 |
docs/src/sparsepattern.md
Outdated
|
||
`ADNLPModel` will automatically try to prepare AD-backend to compute sparse Jacobian and Hessian. | ||
We disabled the Hessian computation here to focus the measurement on the Jacobian computation. | ||
The keyword argument `show_time = true` can also be passed to the problem's constructor to get more detailed information about the time used to prepare the AD backend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On devrait s'en servir pour isoler le calcul du sparsity pattern / coloring / preparation AD / AD / decompression.
Peut-être ouvrir une issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bonne idée!
Co-authored-by: Alexis Montoison <[email protected]>
https://github.com/JuliaSmoothOptimizers/OptimizationProblems.jl/blob/main/src/ADNLPProblems/controlinvestment.jl