-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dsolve unable to solve differential equation #16387
Comments
This kind of error comes up a lot from the Lie Group solvers. There are many places where solve is assumed to return a single solution. What are the equations that solve has failed on? Do you know whether the Lie group solver should be able to solve this? |
Sorry I didn't mean to close it! |
Ping @oscarbenjamin |
I'm not sure why you're pinging me... |
I have edited the issue and it is hanging somewhere in solving pde so If you can solve the issue because I don't know much about pde. |
I don't know SymPy's PDE code so well myself. The PDE in question looks like one that I would manually solve with the method of characteristics but I don't know if that is implemented in SymPy: |
Also do you know that there is a closed form analytic solution to this ODE? |
I don't know the solution but it is hanging in solving so It is a problem. |
It seems that this is what happens: There is no easy solution for the nonlinear differential equation, and the Lie group method is attempted as a kind of last resort. That will necessitate calling |
I find the idea of the Lie group method strange. The method of characteristics reduces an PDE to a system of ODEs which seems like a simplification to me. Turning an ODE into a PDE feels like the wrong direction. |
ode is classified as 'lie_group' but dsolve is not able to solve. It is going into a infinte loop in the line-
sympy/sympy/solvers/ode.py
Line 5826 in d3c1050
from there I find that this partial differential equation is hanging-
I don't know much about pde so if you can help.
The text was updated successfully, but these errors were encountered: