Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I don't have a basic example just yet but I'll describe the problem for now.

I have a large system (>100) of coupled first order ODEs. Where the output from one solution becomes the ICs for the next NDSolve. In each case the equations are the same except various coefficients get updated according to a pre-existing list. I then solve this sequence 1000 times or so.

What are some tricks I can try to speed this process up? Can I do something with Compile perhaps?

Any suggestions would be hugely appreciated.

share|improve this question
Well, it's really hard to give suggestions without a specific example. Considering the description you give, all I can say is, I think Compile won't help much, since NDSolve is a high-level function. –  xzczd Mar 10 at 12:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.