Clear Filters
Clear Filters

How to speed up integration of big ODE system?

3 views (last 30 days)
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 Comments
Torsten
Torsten on 23 Jan 2018
I guess you already supply the Jacobian matrix for ode15s ?
https://de.mathworks.com/help/matlab/ref/odeset.html
Best wishes
Torsten.
Hoang Nguyen
Hoang Nguyen on 23 Jan 2018
Yes, I did. I set the options = odeset('Jacobian',jacob).
Do you have any suggestion to speed up the ODE integration?
Thanks for still being here :)

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!