I am using OrdinaryDiffEq with Sundials.
While other options such as
seem to be working, the option
maxiters doesn’t seem to stop iteration at all; The iteration even exceeds the default limits which are 500 for sundials and 1e5 for the Julia interface.
I have made an example:
using OrdinaryDiffEq, Sundials function osc(du,u,p,t) du = u du = -u end u0 = [1.0;0.0] tspan = (0.0,1e8) prob = ODEProblem(osc,u0,tspan) sol = solve(prob,CVODE_BDF(), maxiters=10) sol.t|>length
on my PC.
the version of packages are
I know there is a similar issue without a solution yet. I wonder if there is a work-around for this problem because my original problem takes too much time using other solvers.