2019-08-30 17:57:42 +0100 | received badge | ● Famous Question (source) |
2015-10-11 22:55:53 +0100 | received badge | ● Notable Question (source) |
2012-07-02 10:06:05 +0100 | received badge | ● Popular Question (source) |
2011-03-30 12:53:13 +0100 | received badge | ● Student (source) |
2011-03-12 19:42:10 +0100 | received badge | ● Supporter (source) |
2011-03-12 19:39:56 +0100 | asked a question | How can I speed up symbolic function evaluation? I have a few hundred lines of code that calculate a system of ODEs. The resulting system of several hundred to several thousand equations take a long time to integrate. (I'm using SciPy's integrate interface; testing on a small case suggested it's several times faster than GSL's ode_solver for my problem.) Of course, most of the time is spent in evaluating my equations. I'm already using fast_callable to speed up the calculations. It made a wonderful difference. But it's still taking hours or even days for the larger systems. I want to put this integration inside an optimizer, so any speed gain is great. Stealing the example from the reference manual (http://www.sagemath.org/doc/numerical...), I'm currently doing something like the following. I don't think I can speed up the integrate routine. Can I do anything to speed up Thanks! |