TSPLIB - Maple Help

# Online Help

###### All Products    Maple    MapleSim

TSPLIB (.tsp) Format

TSPLIB file format

Description

 • TSPLIB is a text-based file format for storing graphs which is used in studying instances of the Traveling Salesman Problem and related problems.
 • The format consists of a sequence of node definitions, followed by a list of edges, which specify node pairs and an optional edge label.
 • The GraphTheory[ImportGraph] command can read from this format.
 • The general-purpose Import command supports this format.

Compatibility

 • The TSPLIB (.tsp) Format command was introduced in Maple 2019.
 • For more information on Maple 2019 changes, see Updates in Maple 2019.

 See Also