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
216 stars 39 forks source link

EnsembleProblem for NonlinearProblem #365

Closed oameye closed 1 month ago

oameye commented 5 months ago

Is your feature request related to a problem? Please describe.

Solving ODEProblem for many initial conditions or a parameter sweep in with the EnsembleProblem feature in the OrdinaryDiffEq.jl package is really easy and can be parallelized really easily by choosing the EnsembleAlg.

Describe the solution you’d like

I would be nice to have the same features for NonlinearProblem

Describe alternatives you’ve considered

Now one can easily iterate the solve function with remake. However, the EnsembleProblem infrastructure makes this easy and performant. Another option would be using the SteadyStateProblem from SteadyStateDiffEq.jl package which works with EnsembleProblem. However, the SteadyStateSolver can be less performant.

ChrisRackauckas commented 5 months ago

Yup this is just a missing part of the interface.