Learn R Programming

netgen (version 1.3)

importFromTSPlibFormat: Import network from (extended) TSPlib format.

Description

Import network from (extended) TSPlib format.

Usage

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.