SciML / NonlinearSolve.jl

High-performance and differentiation-enabled nonlinear solvers (Newton methods), bracketed rootfinding (bisection, Falsi), with sparsity and Newton-Krylov support.
https://docs.sciml.ai/NonlinearSolve/stable/
MIT License
234 stars 40 forks source link

Use approximate sparsity detection by default #318

Closed avik-pal closed 10 months ago

avik-pal commented 10 months ago

Checklist

Additional context

If Symbolics.jl is not loaded, it uses ForwardDiff for approximate sparsity detection. I am displaying a warning because this can lead to failures due to incorrect sparsity pattern. But overall this is very promising at least for the brusselator example. Approximate Detection + Solving takes the similar time as Symbolics Solving (symbolic detection being extremely slow)

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d7ef4af) 80.48% compared to head (893d084) 89.37%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #318 +/- ## ========================================== + Coverage 80.48% 89.37% +8.89% ========================================== Files 23 24 +1 Lines 1942 1949 +7 ========================================== + Hits 1563 1742 +179 + Misses 379 207 -172 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.