#13650: Base rings for MIP backends
--------------------------------------+-------------------------------------
Reporter: vbraun | Owner: ncohen
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.5
Component: linear programming | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: #13646, #12533 | Stopgaps:
--------------------------------------+-------------------------------------
Comment (by vbraun):
I'll hook this into the LinearFunctionsParent, patch coming...
Does anybody mind if we typeset the linear functions more like
polynomials? That is,
{{{
sage: R.<x_0,x_1> = QQ[]
sage: 1+2*x_0+3*x_1
2*x_0 + 3*x_1 + 1
}}}
instead of
{{{
sage: p = MixedIntegerLinearProgram()
sage: x = p.new_variable()
sage: 1+2*x[0]+3*x[1]
1 +2 x_0 +3 x_1
}}}
I think spaces around +/- and explicit * are more readable, and would make
the output more uniform.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13650#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 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.