#13646: Bug in p.add_constraint (when input is True/False)
-----------------------------------------------+----------------------------
Reporter: ncohen | Owner: ncohen
Type: defect | Status: needs_info
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:
-----------------------------------------------+----------------------------
Changes (by dimpase):
* cc: ptrrsn_1 (added)
* status: needs_review => needs_info
Comment:
Replying to [comment:7 vbraun]:
> I've folded your changes into my patch.
>
> There are two things to do. 1) the chained inequalities need a parent as
well, analogous to linear functions. 2) the base ring of the linear
functions needs to match the capabilities of the backend. I've hardcoded
the base ring as RDF for now. But somebody needs to add a method to the
backends to query their supported base ring so we can plug that into the
linear functions parent.
>
> But I think those can be dealt with separately, and I'll leave them as
an exercise for you :-) The biggest usability wart is patched, at least.
>
I don't think I understand the logic of the design to be able to do the
exercise. Why does the base ring need to be hardcoded to anything?
Ideally, I would like to see this coordinated with #12533.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13646#comment:9>
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.