importFromTSPlibFormat: Import network from (extended) TSPlib format.

Description Usage Arguments Value Note

View source: R/importFromTSPlibFormat.R

Description

Import network from (extended) TSPlib format.

Usage

1
importFromTSPlibFormat(filename, round.distances = TRUE)

Arguments

filename

[character(1)]
Path to TSPlib file.

round.distances

[logical(1)]
Should the distances of EUC_2D instances be rounded to the nearest integer value? Default is TRUE.

Value

[Network] Network object.

Note

The extended TSPlib contains additional specification parts and a cluster membership section. Currently only the import of symmetric TSP instances is possible.


netgen documentation built on May 30, 2017, 2:12 a.m.