Skip to main content

Crate numnom

Crate numnom 

Source

Structs§

Model
Parsed MPS model.
SectionTimings
Timing breakdown for each MPS section.
SparseMatrix
Sparse column-wise matrix (CSC format).

Enums§

VarType

Functions§

parse_mps
Parse an MPS file from a reader (reads all into memory first).
parse_mps_file
Parse an MPS file from a file path (supports .mps and .mps.gz).
parse_mps_file_timed
Parse an MPS file from a file path (supports .mps and .mps.gz), with optional timings.
parse_mps_str
Parse an MPS file from a string.
parse_mps_str_timed
Parse an MPS file from a string, with optional timing breakdown.
write_mps
Write a Model in MPS format to any std::io::Write sink.
write_mps_file
Write a Model to a file path in MPS format.