Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sympy matrix exponential performance #80

Open
clinssen opened this issue Dec 3, 2024 · 0 comments
Open

Sympy matrix exponential performance #80

clinssen opened this issue Dec 3, 2024 · 0 comments

Comments

@clinssen
Copy link
Contributor

clinssen commented Dec 3, 2024

Sympy releases after 1.4 introduce a regression in runtime performance when computing matrix exponentials. This issue is being tracked at sympy/sympy#19887.

One solution is to use sympy==1.4, but this version is quite old (and see #77 (comment)). A workaround was added in #70, which considerably reduces the size of the matrices going into expm(), avoiding the performance issue. If performance issues still arise for particular, high-dimensional dynamical systems, try using sympy==1.4 or check sympy/sympy#19887.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant