Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getTSPInstancesOverview

Get an overview of instances in a directory.


Description

This function expects a directory and returns a data frame containing the most important properties, e. g., dimension, edge weight type, of all TSPlib instances (with file extensions tsp) in that directory. Moreover, the data frame contains information on the availiability of the optimal tour length (files tsp.opt) and optimal tour (tsp.tour).

Usage

getTSPInstancesOverview(directory, append.filename = FALSE)

Arguments

directory

[character(1)]
Readable directory path.

append.filename

[logical(1)]
Should the full file names be appended to the data frame? Default is FALSE.

Value

[data.frame]


netgen

Network Generator for Combinatorial Graph Problems

v1.3.2
BSD_3_clause + file LICENSE
Authors
Jakob Bossek [aut, cre]
Initial release
2020-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.