#10785: Setting solver-specific options
----------------------------------+-----------------------------------------
   Reporter:  ncohen              |          Owner:  ncohen       
       Type:  enhancement         |         Status:  needs_info   
   Priority:  major               |      Milestone:  sage-4.8     
  Component:  linear programming  |       Keywords:               
Work_issues:                      |       Upstream:  N/A          
   Reviewer:                      |         Author:  Nathann Cohen
     Merged:                      |   Dependencies:               
----------------------------------+-----------------------------------------
Changes (by fichtejo):

  * status:  needs_review => needs_info


Comment:

 Seems good so far. But in my sage version (4.7.1) the constructor of
 MixedIntegerLinearProgram does not use it when given as a backend, since
 get_solver in the Generic Backend requires a String or None. So we should
 change to something like

 !__init!__ ....

  if isinstance(solver,!GenericBackend):

   ...

 else:

   ...

 or even better change GenericBackend.get_solver

 if solver is None:

 ...

 elif isinstance(solver,!GenericBackend):

 ...

 elif solver=="Coin":

 ...

 But I may have overlooked something.

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