#14229: Remove vacuous solutions from solve
-------------------------------+--------------------------------------------
Reporter: ppurka | Owner: burcin
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.8
Component: symbolics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Description changed by ppurka:
Old description:
> Sometimes solve and its variants tend to report vacuous solutions. A
> recent one from [http://ask.sagemath.org/question/2324/how-to-print-out-
> maxima-commands-being-used-by ask.sagemath] is the following:
> {{{
> sage: x,y = var('x,y')
> sage: solve([x^2*y^2 <= x^2*y, x^2*y^2 > x^2*y],[x,y])
> [[x == 0, 1 < y, 0 != 0], [x == 0, y < 0, 0 != 0]]
> }}}
>
> Shouldn't we remove these meaningless solutions?
New description:
Sometimes solve and its variants tend to report vacuous solutions. A
recent one from [http://ask.sagemath.org/question/2324/how-to-print-out-
maxima-commands-being-used-by ask.sagemath] is the following:
{{{
sage: x,y = var('x,y')
sage: solve([x^2*y^2 <= x^2*y, x^2*y^2 > x^2*y],[x,y])
[[x == 0, 1 < y, 0 != 0], [x == 0, y < 0, 0 != 0]]
}}}
Shouldn't we remove these meaningless solutions? The attached patch
contains a potential solution. If it seems reasonable, then similar
changes could be introduced in `solve_ineq`.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14229#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.