|
Is there any TSPLIB parser available that one can build on, or should I start from scratch and build my own? Languages of interest include C (Lisp and Prolog also, but as a long shot) and Python. |
|
you can use ReadProblem.c from http://www.akira.ruc.dk/~keld/research/LKH/ or VRPIO.cpp, VRPTSPLib.cpp from https://projects.coin-or.org/VRPH/browser#trunk/src |

I think it would be faster just to write one than to surf for one to reuse :-) The format is very simple.
I was looking to save me a day's work :)