alan-turing-institute / alan-turing-institute/ModularCirc

Solver speedup meta issue

Open
#32 5 comments 1 reaction 2 assignees Claimed by @crangelsmith View on GitHub
Dominant language
Jupyter Notebook
Stars
11
Forks
3
PR merge metrics
No merged PRs in 30d

Description

This is a meta issue to track sub issues relating to different ways in which we can increase the speed of solving coupled ODEs in ModularCirc.

From some initial profiling I've looked at, most time is likely taken up by the `solve_ivp` step which is a scipy algorithm for solving the "initial value problem" of ODEs. If a better/faster solver can be found, this might speedup the whole process.

Alternatively, @MaxBalmus was mentioning there is likely a list comprehension bottleneck. I think he was referring to lines inside the `advance_cycle()` function in `Solver.py`. How the dataframe gets updated with new values after each cycle might be inefficient.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.