Diego,

On May 3, 9:48 am, Diego Ruano <[email protected]> wrote:
> Hi,
>
> I have some computations that I used to run without problems in Sage
> 4.2 but they do not work anymore in Sage 4.4. I believe that I have
> problems when I use something different from 0,1,2,.... for the name
> of the vertices of a DiGraph.

I've posted a fix to this problem at:

http://trac.sagemath.org/sage_trac/ticket/8859

After applying the patch there, we have:

sage: G=DiGraph(weighted=True)
sage: G.add_edge((0,0),(1,0),5)
sage: G.add_edge((1,0),(2,0),2)
sage: G.vertices()
[(0, 0), (1, 0), (2, 0)]
sage: G.shortest_path_length((0, 0),(2, 0),by_weight=True)
7


-- RLM

-- 
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-support
URL: http://www.sagemath.org

Reply via email to