#10341: make MIP backend interface more Python-ic
----------------------------------------------+-----------------------------
   Reporter:  malb                            |       Owner:  ncohen    
       Type:  enhancement                     |      Status:  needs_work
   Priority:  major                           |   Milestone:  sage-4.6.1
  Component:  linear programming              |    Keywords:  LP, MIP   
     Author:  Martin Albrecht, Nathann Cohen  |    Upstream:  N/A       
   Reviewer:                                  |      Merged:            
Work_issues:                                  |  
----------------------------------------------+-----------------------------

Comment(by malb):

 On my machine:

 {{{
 #!python
 sage: %time graphs.Grid2dGraph(5,5).minor(graphs.CompleteGraph(4), solver
 = "GLPK", verbose=0)
 CPU times: user 2.81 s, sys: 0.00 s, total: 2.81 s
 Wall time: 2.82 s
 {0: [(1, 3), (1, 2), (1, 1), (2, 3), (2, 4)], 1: [(3, 0), (1, 0), (3, 1),
 (2, 0)], 2: [(2, 1)], 3: [(4, 4), (2, 2), (3, 2), (4, 2), (4, 3), (3, 4)]}
 }}}

 It seems there's still a bug in my SCIP interface:

 {{{
 #!python
 sage: %time graphs.Grid2dGraph(5,5).minor(graphs.CompleteGraph(4), solver
 = "SCIP", verbose=0)
 CPU times: user 1.88 s, sys: 0.04 s, total: 1.92 s
 Wall time: 1.94 s
 {0: [(0, 0), (0, 1)], 1: [(1, 1)], 2: [(2, 1), (2, 2), (1, 0), (2, 0)], 3:
 [(1, 2), (0, 2)]}
 }}}

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