#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:8 ncohen]:
 > > > 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...
 >
 > It would. You will find out how it behaves by looking at
 numerical/backends/generic_backend, bottom of the file.
 > This is made so that the best solver available will be used to solve....
 graph problems :-P
 >
 > > Cause this would not be what I'd call 100% doctest coverage :–)
 > > OK, I can specify the solver to use, then it will work.
 >
 > And you woul prefer to specify manually the solver you want to use, in
 this case GLPK, and say that the other solvers will not be tested ? This
 would be 100% coverage ? Or add one doctest per solver ?

 One way or another, this weirdness must be exposed in doctests and/or  in
 docs. And I'll add this in docs.

 I presume there is a function to find the default solver...

 >
 > > 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?
 >
 > It would be # optional - gurobi
 > There are many instances of that in numerical/gurobi_backend
 >
 > Nathann

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13148#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.

Reply via email to