/tsplib95

Library for working with TSPLIB files.

Primary LanguagePythonOtherNOASSERTION

TSPLIB 95

Available on PyPI Continuous Integration Code Coverage Documentation Status

TSPLIB 95 is a library for working with TSPLIB 95 files.

Features

  • read and write TSPLIB95 file format like a boss
  • easily convert problems into networkx.Graph instances
  • supports all fields in the original standard
  • allows completely custom field and problem declarations

It also has a CLI program to print a tabular summary of one or more TSPLIB95 files... no idea why anyone would want that, but there you have it nonetheless.

Credits

See TSPLIB for original details, including file format specification, C++ code, and sample problems.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.