chaitjo/graph-convnet-tsp

Question: Testing the model on TSPLIB example

saraalemadi opened this issue · 1 comments

Hi,

Thanks for sharing your code. I was wondering how can I test the trained model on a single example from TSPLIB dataset (file with an extension .tsp rather than .txt).

Thanks

-Sara

Hi @saraalemadi, thanks for your interest - you will have to create your own readers for files in that format. In the least case, you will need to read the city coordinates from the new files into a torch tensor of shape (num_cities, 2).