// readme

Rust LP File Parser, Writer, and Diff Tool

A Rust library and CLI for parsing, analysing, modifying and writing Linear Programming (LP) and MPS files. The LP reader uses a Logos lexer and a LALRPOP grammar (lp.lalrpop).

Supported specifications: IBM CPLEX v22.1.1, FICO Xpress, Gurobi, Mosek.

Features

  • Parsing and writing: read LP or MPS, write LP (writer) or MPS (mps::writer), so a problem read in one format can be written in either. Parse, modify, write and parse again gives back the modified model.
  • Modification: rename, update or remove objectives, constraints, variables, coefficients and RHSโ€ฆ