How do I read data from TSPLIB / tsp files?

3.6k Views Asked by At

I was looking for traveling salesman problem data sets and found this site. However, I do not understand how to read the actual data from the extracted "tsp" files on this webpage... how can I go about doing so?

(I'm just a high school student so please excuse me if this is a stupid question)

1

There are 1 best solutions below

2
On

You can read the XML instances (http://www.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/XML-TSPLIB/instances/) using some framework from any language.

XML is easier to understand by humans.