#16490: Create a linear programming backend for cvxopt
-------------------------------------+-------------------------------------
       Reporter:  ingolfured         |        Owner:  ingolfured
           Type:  enhancement        |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.3
      Component:  linear             |   Resolution:
  programming                        |    Merged in:
       Keywords:                     |    Reviewers:  Dima Pasechnik
        Authors:  Ingólfur           |  Work issues:
  Eðvarðsson                         |       Commit:
Report Upstream:  N/A                |  3f133331394911218d22d3a298fc049c86a8c034
         Branch:                     |     Stopgaps:
  u/ingolfured/create_a_linear_programming_backend_for_cvxopt|
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by dimpase):

 * status:  needs_info => needs_work


Comment:

 Replying to [comment:42 ingolfured]:
 > Replying to [comment:39 ncohen]:
 > > Hey guys, what the hell is this ?
 > >
 > > {{{
 > > def solve(self):
 > >    ...
 > >    return 0 # it should be the value of the objective function
 > > def set_variable_type(...):
 > >    ...
 > >    pass
 > > }}}
 >
 > set_variable_type is cont. by default and cannot be changed. I fixed the
 doc for that. The solve method in the backend returns 0 if everything went
 ok and the solve in mip.pyx returns the actual value. Therefore this is
 anormal behavior (see the ppl or glpk backends for further info) I also
 changed the doc for set_verbosity (does not apply for the cvxopt backend).
 Let me know if this is sufficient or not.

 for consistency, `set_variable_type()` should behave as in `ppl_backend`,
 I think. Otherwise, it looks OK.

 Regarding `solve()` in the backend returning 0, Nathann writes so much
 Sage code that he forgets what he wrote himself, e.g. in the GLPK
 backend...

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