| Author |
Comment/Response |
Evan Wheeler
|
12/04/11 10:28pm
Hi there,
I am having a problem using Mathematica's graphing capabilities. I'm trying to construct a directed graph with weighted edges so I can put it into TravelingSalesman[]. I'm currently trying to do this by importing data into a SparseArray and trying to construct a WeightedAdjacencyGraph out of that SparseArray. However, Mathematica gives me errors or just echoes the input. I've read and re-read the reference article on WeightedAdjacencyGraph to no avail. The example in WeightedAdjacencyGraph works, but my input doesn't.
By the way, this is just example data: I have a set of raw data that I'm going to import once I get this small example working.
Thanks,
Evan Wheeler
Attachment: weightedadjacencygraphfailing.nb, URL: , |
|