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

Add tutorial with manual sparsity pattern #209

Merged
merged 8 commits into from
Aug 14, 2024
Merged

Add tutorial with manual sparsity pattern #209

merged 8 commits into from
Aug 14, 2024

Conversation

tmigot
Copy link
Member

@tmigot tmigot commented Dec 21, 2023

@tmigot tmigot added the documentation Improvements or additions to documentation label Dec 21, 2023
Copy link
Contributor

github-actions bot commented Dec 21, 2023

Package name latest stable
CaNNOLeS.jl
DCISolver.jl
DerivativeFreeSolvers.jl
JSOSolvers.jl
NLPModelsIpopt.jl
OptimalControl.jl
OptimizationProblems.jl
Percival.jl
QuadraticModels.jl
SolverBenchmark.jl
SolverTools.jl

Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.18%. Comparing base (d4c48d2) to head (510f8e4).
Report is 75 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@tmigot tmigot added the do not merge This is an experiment or work in progress label Dec 22, 2023
@tmigot
Copy link
Member Author

tmigot commented Dec 22, 2023

This is a tuto on adding manually the sparsity pattern, but not the results expected tbh...

https://jso.dev/ADNLPModels.jl/previews/PR209/sparsepattern/

@tmigot
Copy link
Member Author

tmigot commented Aug 6, 2024

superseded by #286

@tmigot tmigot closed this Aug 6, 2024
@tmigot tmigot deleted the new-tuto branch August 6, 2024 20:50
@tmigot tmigot restored the new-tuto branch August 12, 2024 11:30
@tmigot tmigot reopened this Aug 12, 2024
@tmigot tmigot requested a review from amontoison August 12, 2024 22:39
@tmigot tmigot removed the do not merge This is an experiment or work in progress label Aug 12, 2024
docs/make.jl Outdated Show resolved Hide resolved
docs/src/sparsepattern.md Outdated Show resolved Hide resolved
docs/src/sparsepattern.md Outdated Show resolved Hide resolved

`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.
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bonne idée!

docs/src/sparsepattern.md Outdated Show resolved Hide resolved
docs/src/sparsepattern.md Outdated Show resolved Hide resolved
docs/src/sparsepattern.md Outdated Show resolved Hide resolved
docs/src/sparsepattern.md Outdated Show resolved Hide resolved
docs/src/sparsepattern.md Outdated Show resolved Hide resolved
@tmigot tmigot merged commit eaf2c37 into main Aug 14, 2024
41 of 43 checks passed
@tmigot tmigot deleted the new-tuto branch August 14, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants