-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
Improve interface to SymPy solvers #24142
Comments
Dependencies: #22322 |
comment:2
These sets can be returned by |
comment:3
Should we translate to |
comment:4
Let's use |
comment:5
Possibilities:
A further problem is that output is different between SymPy's |
comment:6
Replying to @rwst:
Not so, it is a AND-combination of a relation and an element statement, i.e. symbol in set. This means it cannot be expressed in list format. |
comment:8
As an example this result set from SymPy:
is with #24156 and #24171 constructible in Sage:
|
comment:10
See possibly also #31926 or some of its constituent tickets. |
At the moment with
solve(...,algorithm='sympy')
the SymPy functionsolveset
is called for single expressions, andsolve
for systems. However, it turns out thatsolve
can handle some single-expression tasks wheresolveset
fails. This ticket should add code that analyzessolveset
output and callssolve
in case no solution was found. This probably includes simplifying the returnedConditionSet
s.References:
Depends on #24171
CC: @mforets
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/24142
The text was updated successfully, but these errors were encountered: