Hello,

I needed to solve several complex ODE. I tried ode from
scipy.integrate.
It worked up to 7 (included) equations. Of course, I needed to solve
a system of 8 equations. When my system of 8 equations did not work,
I tried to start from the example of 2 equations that worked and build
up
some complexity. I was able to cook up a system of 7 complex ODEs
that was solved by scipy.integrate.ode. However, when I tried to add
an
eight equation it didn't work either. The error message I got for this
cooked
up example was the same I got for my own system of 8 equations:



capi_return is NULL
Call-back cb_f_in_zvode__user__routines failed.
Traceback (click to the left of this block for traceback)
...
TypeError: 'sage.rings.real_mpfr.RealLiteral' object is not callable

capi_return is NULL
Call-back cb_f_in_zvode__user__routines failed.
Traceback (most recent call last):        print r.t, r.y
  File "", line 1, in <module>

  File "/tmp/tmpG_h_N3/___code___.py", line 7, in <module>
    while r.successful() and r.t < t1:\u000a    r.integrate(r.t+dt)
\u000a    print r.t, r.y
  File "", line 2, in <module>

  File "/home/alex/local/sage-4.3.2/local/lib/python2.6/site-packages/
scipy/integrate/ode.py", line 260, in integrate
    self.f_params,self.jac_params)
  File "/home/alex/local/sage-4.3.2/local/lib/python2.6/site-packages/
scipy/integrate/ode.py", line 554, in run
    y1,t,istate = self.runner(*(args[:5]+tuple(self.call_args)
+args[5:]))
  File "/tmp/tmpnSzib1/___code___.py", line 7, in f
    arg[_sage_const_4 ]*y[_sage_const_3 ] - arg[_sage_const_5 ]
(_sage_const_1 +y[_sage_const_1 ]),
TypeError: 'sage.rings.real_mpfr.RealLiteral' object is not callable

I would appreciate if someone had some suggestions.

Another thing. I was able to solve the system of 8 equations (not the
"cooked up" example) with Mathematica.

Alex

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to