[SciPy-User] Problem with combining Fsolve and Integrate.Odeint

Peter Cimermančič peter.cimermancic@gmail....
Mon Oct 12 21:47:06 CDT 2009


Hi all,
I'm trying to model system that is described with few ODEs. Function, where
ODEs are in, is given as def function(y,t). It takes two arguments as you
can see. y is an array of different species in the model, whereas t is an
array of time steps. Then, I'd like to calculate steady state using fsolve,
which takes function with one argument only. When trying to solve steady
state, this error is raised: "TypeError: There is a mismatch between the
input and output shape of diff_equations.". How could I solve my problem?

Thank you in advance,

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20091012/99ef7f3a/attachment.html 


More information about the SciPy-User mailing list