-
-
Notifications
You must be signed in to change notification settings - Fork 49
ode45 hangs on backwards integration #104
Comments
I belive I have the same problem. For example:
I also waited longer than a minute before killing it. |
Maybe this has to do with the 1.01 here: https://github.com/JuliaLang/ODE.jl/blob/a0ef97d6249e62a089370787850ae697e3d94962/src/runge_kutta.jl#L341 . Which I think is the wrong thing to do. Could you check if setting it to 1 works? |
Unfortunately, it does not. |
This equation is stiff. Try a stiff solver (e.g. EDIT: as a plan for a distant future we should add a stiffness detection system (sometimes it's difficult to see if the equation is stiff) and maybe switch between stiff and non stiff solvers. |
Thanks @pwl for noticing the stiff problem. The other problem seems to be something else, maybe related to backwards integration but not that as, note that e.g. Also x-ref to the original julia-users thread https://groups.google.com/d/msg/julia-users/zB2mhbX3KeU/Tqn_hxWACQAJ . |
Hello,
I came across this issue (recreated here using example code):
This hangs for a long time (I've waited up to a minute before killing it).
The text was updated successfully, but these errors were encountered: