I am trying to solve a rather complex differential equation :
I'm trying to solve it numerically with odeint function. I've succeeded in doing so, but i would like to add a condition, and to stop the resolution when dY/dt is close to 0. I have found nowhere how to do so, would you have any ideas ? Thanks !
