[SciPy-User] ODE: providing function and gradient together

Fabrice Silva silva at lma.cnrs-mrs.fr
Sat Jun 4 10:53:22 EDT 2011


Hello,
I am trying to solve some ODE providing the function describing the
dynamics and its gradient. The trouble is they are somehow expensive to
evaluate (due to some time-varying parameters that need to be updated)
and some computations are done twice (once in the function, another one
in the gradient).
I was wondering if anyone know an integration facility that would accept
a single function returning the evaluation of the dynamics function and
the evaluation of the gradient together. Any idea?

Regards
-- 
Fabrice Silva




More information about the SciPy-User mailing list