-
-
Notifications
You must be signed in to change notification settings - Fork 601
calculus integration failing due to maxima interacting when it shouldn't #780
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
Comments
comment:1
The solution might be to make the pexpect interface interaction with maxima even more sophisticated or -- even better -- replicate the whole bug directly in maxima and report it to the maxima list (I'm too lazy to do so |
comment:3
Submitted bug report to the maxima list, see https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1899352&group_id=4933 |
comment:5
Somebody on the maxima list responded:
|
comment:6
I've noticed this many times when running my integration tests. Axiom handles these kinds of integrals by returning multiple solutions. Maxima could do the same and that's what I think is the best solution. One possible solution on the Sage side would be to add optional parameters to answer the questions. So, the first time one tries the integral, you get the trackback so you re-run the integration with an added parameter to answer the question (or series of questions for problems with several branches). Since the questions are yes/no based, another option arises, that is more difficult to implement but better for the user. This would be to have an option for Sage to build up the branches by re-running the integration answering the questions automatically and noting the solution and the question+answer. Both of these Sage solutions require improvements to the pexpect interface which are likely non-trivial. |
comment:8
It should be pointed out that:
|
comment:9
Note that the Maxima bug seems to have been fixed, see https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1899352&group_id=4933 |
comment:11
Attachment: trac_780-maxima_integral.patch.gz attachment: trac_780-maxima_integral.patch adds doctests to show that this is fixed. Alex, many thanks for your work on updating maxima. I'm trying to get as many symbolics/calculus tickets closed as possible for this release now. |
Author: Alex Ghitza, Burcin Erocal |
comment:12
All tests passed! Yes, also thanks! Incidentally, I would be happy to help with updating Maxima as needed, now that I've read the spkg documentation in the developer's guide, because there are always new improvements. |
Reviewer: Karl-Dieter Crisman |
Merged: Sage 4.1.2.alpha3 |
Changed merged from Sage 4.1.2.alpha3 to Sage 4.1.2.alpha4 |
comment:14
There is no 4.1.2.alpha3. Sage 4.1.2.alpha3 was William Stein's release for working on making the notebook a standalone package. |
CC: @jasongrout
Component: calculus
Author: Alex Ghitza, Burcin Erocal
Reviewer: Karl-Dieter Crisman
Merged: Sage 4.1.2.alpha4
Issue created by migration from https://trac.sagemath.org/ticket/780
The text was updated successfully, but these errors were encountered: