Function read
Source pub fn read<P: AsRef<Path>>(path: P) -> Result<Instance>
Expand description
Read a TSPLIB instance from path.
This funtions is implemented as
ⓘparse(BufReader::new(File::open(path)?))
§Errors
This function will return an error if an IO error occurs or if the file cannot be parsed.