#13646: Bug in p.add_constraint (when input is True/False)
-----------------------------------------------+----------------------------
Reporter: ncohen | Owner: ncohen
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.5
Component: linear programming | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Nathann Cohen, Volker Braun | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------------+----------------------------
Comment (by ncohen):
Not to mention that having RDF as a BaseRing would mean that a call to
p.show() (that currently displays the LP's constraints) would result in
ugly 1.0000000 everywhere instead of 1. No way -- I prefer having neat 1.0
than being able to write 5 <=variable.
QQ would be much better... Because of #12533 of course, and it would also
be less destructive to everything else.
By the way, why did you replace Sum by p.sum ? I won't begin to say that
it is not a backward compatible change -- I'm usually the least to worry
about this. But given that it would completely break something like years
of code I have, I would at least like to know why `:-P`
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13646#comment:11>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.