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.

asked 09 Feb '12, 07:05

adamo's gravatar image

adamo
638614
accept rate: 0%

retagged 13 Feb '12, 10:48

Thiago%20Serra's gravatar image

Thiago Serra
1.2k413

1

I think it would be faster just to write one than to surf for one to reuse :-) The format is very simple.

(09 Feb '12, 07:34) Bo Jensen ♦

I was looking to save me a day's work :)

(09 Feb '12, 17:51) adamo

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

link

answered 09 Feb '12, 08:24

Rodrigo%20Linfati's gravatar image

Rodrigo Linfati
561
accept rate: 100%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26
×6

Asked: 09 Feb '12, 07:05

Seen: 5,537 times

Last updated: 13 Feb '12, 10:48

OR-Exchange! Your site for questions, answers, and announcements about operations research.