#13142: show() of a (MI)LP should not hardwire double for entries
-------------------------------------+-------------------------------------
Reporter: dimpase | Owner: ncohen
Type: defect | Status: needs_review
Priority: major | Milestone: sage-
Component: linear | duplicate/invalid/wontfix
programming | Resolution:
Keywords: | Merged in:
Authors: | Reviewers: Jeroen Demeyer
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: new => needs_review
* reviewer: => Jeroen Demeyer
* milestone: sage-6.3 => sage-duplicate/invalid/wontfix
Comment:
Worksforme:
{{{
sage: p = MixedIntegerLinearProgram(solver="PPL")
sage: x = p.new_variable(nonnegative=True)
sage: p.add_constraint(4/7*x[0] >= 1/2)
sage: p.show()
Maximization:
Constraints:
constraint_0: -4/7 x_0 <= -1/2
Variables:
x_0 is a continuous variable (min=0, max=+oo)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/13142#comment:4>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.