#13205: make LP return bounds on variables
--------------------------------------+-------------------------------------
Reporter: dimpase | Owner: ncohen
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.2
Component: linear programming | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: #13148 | Stopgaps:
--------------------------------------+-------------------------------------
Comment (by dimpase):
Replying to [comment:7 ncohen]:
> Yeah, I guess. Or we can also merge everything into a variable_min and
variable_max functions with which you can also set values. What do you
think is best ?
I pondered this question deeply :–) No, it's bad enough that
{{{p.get_max(v[9999999])}}} will always create {{{v[9999999]}}} if it does
not exist, instead of throwing {{{ValueError}}}, while
{{{p.get_max(9999999)}}} will throw {{{ValueError}}}.
I'd really prefer this two-tier approach, when user-defined variables and
solver variables are kept apart interface-wise.
By the way, it also looks strange that {{{v}}} doesn't even know its
(I)LP. Or can it be in several LPs at the same time?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13205#comment:8>
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.