Solving a simple system of linear equations, I get an output where one entry of the result is incomplete:
sage -maxima
(%i1) load(to_poly_solve)$
(%i2) to_poly_solve([x > 0, x <= 2*y, x <= 2 - 2*y], x);
(%o2) %union([0 < x, x < min(2 y, 2 - 2 y), 2 y > 0, - 2 (y - 1) > 0],
[x = 2 - 2 y, - 2 (y - 1) > 0, 2 (2 y - 1) > 0], [x = 2 y, 2 y > 0, **2 y - 1**],
[x = 2 y, - 2 (2 y - 1) > 0, 2 y > 0])
Thanks for the bug report. Can you say more about what's wrong here? What were you expecting and how does the output shown here differ from that?
Sorry. The entry
[x = 2 y, 2 y > 0, 2 y - 1]
in the output should be a list of equations and inequalities: it should say
[x = 2 y, 2 y > 0, 2 y - 1 <= 0]
Best,
Evan
On Thu, Apr 9, 2020 at 11:31 PM Robert Dodier robert_dodier@users.sourceforge.net wrote:
Related
Bugs: #3626