SteadyStateDiffEq.jl icon indicating copy to clipboard operation
SteadyStateDiffEq.jl copied to clipboard

Default solver choice requires DifferentialEquations.jl (shouldn't b the case anymore)

Open TorkelE opened this issue 1 year ago • 3 comments

Default choice of ODE solver recently got moved from DifferentialEquations to OrdinaryDiffEq. This should somehow also have an effect in SteadyStateDiffEq. However:

using SteadyStateDiffEq
...
ssprob = SteadyStateProblem(f, u0, p)
solve(ssprob)

gives a

ERROR: Default algorithm choices require DifferentialEquations.jl.
Please specify an algorithm (e.g., `solve(prob, Tsit5())` or
`init(prob, Tsit5())` for an ODE) or import DifferentialEquations
directly.

TorkelE avatar May 29 '24 14:05 TorkelE

Because that's not an ODEProblem.

ChrisRackauckas avatar May 29 '24 14:05 ChrisRackauckas

Right, but default solver choice is currently possible for both ODEProblem and NonlienarProblem, having it for SteadyStateProblem seems like a natural next step?

TorkelE avatar May 29 '24 14:05 TorkelE

It would be, yes. And it should probably live in NonlinearSolve

ChrisRackauckas avatar May 29 '24 15:05 ChrisRackauckas