Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何在scipy integrator';dopri5';?_Python_Python 3.x_Scipy - Fatal编程技术网

Python 如何在scipy integrator';dopri5';?

Python 如何在scipy integrator';dopri5';?,python,python-3.x,scipy,Python,Python 3.x,Scipy,我已经用python编写了使用scipy integratordopri5求解微分方程的代码。我经常在集成失败时出错。然后,我试图改变步数,但我再次得到的错误,步长变得太小。当我设置nsteps=1时,错误显示需要更多步骤。 我不知道我错在哪里?如何解决这个问题 Warning (from warnings module): self.messages.get(istate, unexpected_istate_msg))) UserWarning: dopri5: step size beco

我已经用python编写了使用scipy integrator
dopri5
求解微分方程的代码。我经常在集成失败时出错。然后,我试图改变步数,但我再次得到的错误,步长变得太小。当我设置
nsteps=1
时,错误显示需要更多步骤。 我不知道我错在哪里?如何解决这个问题

Warning (from warnings module):
self.messages.get(istate, unexpected_istate_msg)))
UserWarning: dopri5: step size becomes too small
state = ODE.integrate(0.0001)
File "/home/.local/lib/python3.6/site-packages/jitcode/_jitcode.py", line 644, in integrate
 return self.integrator.integrate(*args,**kwargs)
 packages/jitcode/integrator_tools.py", line 143, in integrate
    raise UnsuccessfulIntegration
jitcode.integrator_tools.UnsuccessfulIntegration

请提供a我们必须查看您的代码才能给出任何有意义的答案。请提供a我们必须查看您的代码才能给出任何有意义的答案。