Solve IVP doesn't response
Opened this issue · 1 comments
javierrodenas commented
Hello,
I have been having troubles with the following line:
solution = solve_ivp(SIR, [0, size], [s_0,i_0,r_0], t_eval=np.arange(0, size, 1), vectorized=True)
At fourth iteration, it never ends processing. Should I let it more time? How long does it take? I have let the process until 20-30 min and it doesn't response
Thank you in advance!
gasilva commented
Use odeint it is much faster because is FORTRAN compiled!
Enviado do meu iPhone
… Em 17 de abr de 2020, à(s) 06:44, Javier Ródenas ***@***.***> escreveu:
Hello,
I have been having troubles with the following line:
solution = solve_ivp(SIR, [0, size], [s_0,i_0,r_0], t_eval=np.arange(0, size, 1), vectorized=True)
At fourth iteration, it never ends processing. Should I let it more time? How long does it take? I have let the process until 20-30 min and it doesn't response
Thank you in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.