Question: Is it possible to give an edge of a graph an infinite weight ?

Hi everybody, 

Only weights of type "numeric" can be used in a weighted graph (package GraphTheory) .
Is it possible to bypass this limitation and affect an infinite weight to an edge ?
If not possible, does it exist some "highest numeric value" in Maple I could use instead ?
(the trick of a very high value doesn't suit me)

Subsidiary question : is it possible to change the printing format for those weights ?
For instance   GraphTheory:-SetEdgeWeight(MyGraph, MyEdge, 123.4) plots the value 123 on edfe MyEdge

Thanks in advance

Please Wait...