#13696: process chained equalities with different signs correctly
--------------------------------------+------------------------
Reporter: dimpase | Owner: ncohen
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: linear programming | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #12091 | Stopgaps:
--------------------------------------+------------------------
Old description:
> we have to deal with what remained from #12091. At least, report errors
> for the inputs like the following:
> {{{
> sage: b[0] <= 555*b[1] >= 2
> sage: b[0] <= 555*b[1] == 2
> }}}
> which even with #12091 are incorrectly processed
> {{{
> sage: b[0] <= 555*b[1] >= 2
> 2 <= x_0 <= 555*x_1
> sage: b[0] <= 555*b[1] == 2
> 555*x_1 == 2
> }}}
New description:
we have to deal with what remained from #12091. At least, report errors
for the inputs like the following:
{{{
sage: p = MixedIntegerLinearProgram()
sage: b = p.new_variable()
sage: b[0] <= 555*b[1] >= 2
sage: b[0] <= 555*b[1] == 2
}}}
which even with #12091 are incorrectly processed
{{{
sage: b[0] <= 555*b[1] >= 2
2 <= x_0 <= 555*x_1
sage: b[0] <= 555*b[1] == 2
555*x_1 == 2
}}}
--
Comment (by mkoeppe):
Description modified to make the example self-contained.
--
Ticket URL: <http://trac.sagemath.org/ticket/13696#comment:6>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.