#8364: Forward options like "solver" in all the functions using LP
-------------------------------------------------------------------------+--
   Reporter:  ncohen                                                     |      
 Owner:  jkantor     
       Type:  enhancement                                                |      
Status:  needs_review
   Priority:  major                                                      |   
Milestone:  sage-4.4    
  Component:  graph theory                                               |    
Keywords:              
     Author:                                                             |    
Upstream:  N/A         
   Reviewer:  schilly                                                    |      
Merged:              
Work_issues:  rebase on top of #7671, #7854, #7966, #8273, #8273, #8331  |  
-------------------------------------------------------------------------+--

Comment(by jason):

 How about we specify the solver options as a solver_options dictionary,
 instead of just blindly passing on whatever is passed into the function on
 to the solver?  For example:

 {{{
 def feedback_edge_set(self,value_only=False, solver_options=dict()):

    ...
    p.solve(**solver_options)

 }}}

 This seems a bit cleaner to me.

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