Import network from (extended) TSPlib format.
importFromTSPlibFormat(filename, round.distances = TRUE,
read.opt = TRUE)
[character(1)
]
Path to TSPlib file.
[logical(1)
]
Should the distances of EUC_2D instances be rounded to the nearest integer value?
Default is TRUE
.
[logical(1)
]
Should the optimal tour length (in file filename.opt) and the optimal
tour (in file filename.tour) be loaded if avialable?
Default is TRUE
.
[Network
]
Network object.