How to switch ODE from DifferentialEquations to OrdinaryDiffEq?

You need to explicitly provide a solver, as the error message suggests. You could try solve(prob, Tsit5()) for a basic solver, and look at the solvers page in the documentation for all available solvers.

3 Likes