pub fn read<G>(fname: &str) -> Result<(G, Vec<f64>), Error>where G: Buildable,
Read DIMACS file.
fname
weights