Skip to content
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

solve can't handle certain multi-equation settings #22149

Open
kcrisman opened this issue Jan 7, 2017 · 1 comment
Open

solve can't handle certain multi-equation settings #22149

kcrisman opened this issue Jan 7, 2017 · 1 comment

Comments

@kcrisman
Copy link
Member

kcrisman commented Jan 7, 2017

See this ask.sagemath question. Basically, at least in certain situations involving abs(), you

var('x y a b')
f=[1+y-a*abs_symbolic(x)==x, b*x==y]; f
solve(f, [x, y])

gives boom, or more precisely

TypeError: cannot coerce arguments: no canonical coercion from <type 'list'> to Symbolic Ring

since it somehow is trying to make this into one object. But

assume(x>0)
solve(f, [x, y])

gives not boom. So somehow our code for recognizing when we have a system of equations isn't working right in the first case. Note that

var('x y a b')
f=[1+y-a*x==x, b*x==y]
solve(f,[x,y]

apparently works fine.

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/22149

@kcrisman kcrisman added this to the sage-7.5 milestone Jan 7, 2017
@mkoeppe
Copy link
Member

mkoeppe commented Jul 6, 2021

comment:1

still the same in 9.4.beta4

@mkoeppe mkoeppe modified the milestones: sage-7.5, sage-9.4 Jul 6, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 22, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 May 3, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe removed this from the sage-9.8 milestone Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants