File format error: Can't read Explicit Lengths norm
Hi, I tried to run the test, but it's ended with this error, "File format error: Can't read Explicit Lengths norm"
Then I tried it also with my own matrix, getting the same error. No other error, I've set env-var to the path of executable Concorde. (Windows 7, python 2.7)
Why? Thank you in advance.
Can you provide any more information? Where is the exception occurring?
I don't have access to a Windows machine at the moment so I'm afraid this is untested on that platform.
It would appear that concorde can't read explicit, i.e. distance-matrix, tsp problems. From the documentation (of the windows GUI version):
Concorde interpretes only those TSPLIB files that define sets of nodes in two dimensional space.
Sucks quite badly, this would've been very useful
@oliverwilliams84 @flyingdisc Can you point to example datasets and code to demonstrate the problem? That would be greatly appreciated.
Concorde interpretes only those TSPLIB files that define sets of nodes in two dimensional space.
Correct, and this project started as wrapper for Concorde so it's no surprise that other graph representations aren't well supported. I'd like to support other formats but don't currently have the time.
The LKH wrapper is a little bugged in that it changes the active directory and then writes the new files into /tmp/tmp/myroute.par etc. which is a bit strange. Because it changes the active directory with os.chdir but then still routes to the directory.
However I did some tinkering and the LKH .exe runs the TSPLIB files with explicit lengths if the files are all in the same directory.
Actually concorde command line can read and solve them but windows GUI version can not.