Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9606

NDSolve is really slow in version 8 but not 7

From Jonathan Frazer <J.Frazer@sussex.ac.uk>
Newsgroups comp.soft-sys.math.mathematica
Subject NDSolve is really slow in version 8 but not 7
Date 2012-04-13 08:58 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jm8psc$j38$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hi All,

I'm using NDSolve to solve a set of roughly 40 first order differential equations. It takes about 10 seconds in version 7 but more like 850 in version 8. Does anyone know why this might be and how I can speed things up?

Also for one scenario I'm getting the error

NDSolve::"ndsz" :  ""At "\[NoBreak]t\[NoBreak]" == "\[NoBreak]39.77534338386624`\[NoBreak]", step size is \
effectively zero; singularity or stiff system suspected."

I realise its difficult to help without me giving an example but its a bit tricky to do so. Are there any standard tricks I could try?

Many thanks,

Jonny

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

NDSolve is really slow in version 8 but not 7 Jonathan Frazer <J.Frazer@sussex.ac.uk> - 2012-04-13 08:58 +0000
  Re: NDSolve is really slow in version 8 but not 7 A Retey <awnl@gmx-topmail.de> - 2012-04-14 07:14 +0000

csiph-web