SciML / SteadyStateDiffEq.jl

Solvers for steady states in scientific machine learning (SciML)
Other
30 stars 22 forks source link

Store nlsolve result object in solution? #16

Closed tkf closed 2 years ago

tkf commented 5 years ago

Currently, the result object returned by nlsolve is thrown away. It would be nice if the nlsolve result is attached to the diffeq solution object so that information about the solution (e.g., trace) can be retrieved.

https://github.com/JuliaDiffEq/SteadyStateDiffEq.jl/blob/62f808282653b7bcb4a7e7fc6e72e4f797739336/src/algorithms.jl#L6

ChrisRackauckas commented 5 years ago

Yeah, that sounds like a good idea.

sdwfrost commented 2 years ago

Similarly, it would be great to either keep the solution for DynamicSS or at least return the time at which steady state was reached.