TSPLIB - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


TSPLIB (.tsp) Format

TSPLIB file format

 

Description

Compatibility

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

Formats

GraphTheory