How to speed up integration of big ODE system?
3 次查看(过去 30 天)
显示 更早的评论
Dear all,
My problem relating to chemical reaction field involves an ODE system of [37000 37000]. May I ask if we have any way to make a computational time for ODE integration faster?
I already used 'sparse' to remove zero elements and it reduce computational time 2-3 times, but still takes 2-3 hours for one simulation and 13-15 hours for parameter estimation task.
I have searched for a solution, many suggested to compile my problem to .c and then do simulation (e.g., AMICI toolbox). This approach is a really good idea. I have tried but the compilation took really long time with big ODE system and did not even seem to complete.
I would appreciate all suggestion from you.
Thanks for stopping by.
Best regards,
4 个评论
Torsten
2018-1-23
I guess you already supply the Jacobian matrix for ode15s ?
https://de.mathworks.com/help/matlab/ref/odeset.html
Best wishes
Torsten.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!