Optex.MPS (Optex v0.1.0)

Copy Markdown View Source

Minimal free-format MPS emitter for a Optex.SolverInput.

This is a validation/debugging path, not a user feature: a model emitted to MPS and solved by a standalone HiGHS binary must give the same objective as the NIF path. Rows are named R0..R(m-1), columns X0..X(n-1), objective OBJ.

Summary

Functions

Emit a free-format MPS document for the given SolverInput. Inputs carrying native general constraints (indicators, abs) are not representable in this format and raise.

Functions

emit(input)

@spec emit(Optex.SolverInput.t()) :: iodata()

Emit a free-format MPS document for the given SolverInput. Inputs carrying native general constraints (indicators, abs) are not representable in this format and raise.