Function parse

Source
pub fn parse<R: BufRead>(reader: R) -> Result<Instance>
Expand description

Read a TSPLIB instance from reader.

ยงErrors

This function will return an error if an IO error occurs or if the file cannot be parsed.