#16386: matching_polynomial of Grid2dGraph bombs
--------------------------------+------------------------
       Reporter:  rws           |        Owner:
           Type:  defect        |       Status:  new
       Priority:  major         |    Milestone:  sage-6.3
      Component:  graph theory  |   Resolution:
       Keywords:  grid graph    |    Merged in:
        Authors:                |    Reviewers:
Report Upstream:  N/A           |  Work issues:
         Branch:                |       Commit:
   Dependencies:                |     Stopgaps:
--------------------------------+------------------------

Comment (by chapoton):

 You need first to rebabel the graph
 {{{
 sage: g = graphs.Grid2dGraph(4,4)
 sage: g.relabel()
 sage: g.matching_polynomial()
 x^16 - 24*x^14 + 224*x^12 - 1044*x^10 + 2593*x^8 - 3388*x^6 + 2150*x^4 -
 552*x^2 + 36
 }}}
 Its probably because the matching polynomial assumes that vertices are
 integers.

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