#16490: Create a linear programming backend for cvxopt
-------------------------------------+-------------------------------------
       Reporter:  ingolfured         |        Owner:  ingolfured
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.3
      Component:  linear             |   Resolution:
  programming                        |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  470d0cb5193d7d7f4118a20ea45791ddaef1aa9b
  u/ingolfured/create_a_linear_programming_backend_for_cvxopt|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by dimpase):

 and another easy to fix thing:
 {{{
 sage -t src/sage/numerical/backends/generic_backend.pyx
 **********************************************************************
 File "src/sage/numerical/backends/generic_backend.pyx", line 913, in
 sage.numerical.backends.generic_backend.default_mip_solver
 Failed example:
     default_mip_solver("Yeahhhhhhhhhhh")
 Expected:
     Traceback (most recent call last):
     ...
     ValueError: 'solver' should be set to 'GLPK', 'Coin', 'CPLEX',
 'CVXOPT', 'Gurobi', 'PPL' or None.
 Got:
     <BLANKLINE>
     Traceback (most recent call last):
       File "/home/scratch/dimpase/sage/sage-6.3.beta2/local/lib/python2.7
 /site-packages/sage/doctest/forker.py", line 480, in _run
         self.execute(example, compiled, test.globs)
       File "/home/scratch/dimpase/sage/sage-6.3.beta2/local/lib/python2.7
 /site-packages/sage/doctest/forker.py", line 839, in execute
         exec compiled in globs
       File "<doctest
 sage.numerical.backends.generic_backend.default_mip_solver[3]>", line 1,
 in <module>
         default_mip_solver("Yeahhhhhhhhhhh")
       File "generic_backend.pyx", line 975, in
 sage.numerical.backends.generic_backend.default_mip_solver
 (build/cythonized/sage/numerical/backends/generic_backend.c:7373)
     ValueError: 'solver' should be set to 'GLPK', 'Coin', 'CPLEX',
 'Gurobi', 'CVXOPT', 'PPL' or None.
 }}}
 here the problem is that the output does not match the doctest, as in the
 doctest the order of solvers is different : CVXOPT and Gurobi are swapped.

--
Ticket URL: <http://trac.sagemath.org/ticket/16490#comment:30>
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.

Reply via email to