#13148: make LP return the number of variables
--------------------------------------+-------------------------------------
Reporter: dimpase | Owner: ncohen
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.2
Component: linear programming | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
--------------------------------------+-------------------------------------
Comment (by dimpase):
Replying to [comment:6 ncohen]:
> > it only does so if you hack your Sage installation to make Gurobi the
default
> > solver. Correct me if I'm wrong, but isn't the default LP solver GLPK?
>
> Well. No, Gurobi becomes the default solver as soon as you install it.
Oh dear... And if I install, say, CPLEX? Will it take over? This is
strange. Even web browsers don't behave like this :–) Anyway...
>
> But that is not the problem Dima. I you remove this "min" or "max" in
your file the doctest does not break anymore, what's the point of
insisting to keep it ? What's the point ?
Cause this would not be what I'd call 100% doctest coverage :–)
OK, I can specify the solver to use, then it will work.
By the way, how would I mark a test so that it would only be invoked if
GUROBI is installed?
Is it {{{ # optional ???}}} ? And what would be {{{???}}} there?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13148#comment:7>
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.