ommx.mps

Functions

load_file(→ ommx.v1.Instance)

write_file(instance, path)

Outputs the instance as an MPS file.

Module Contents

load_file(path: str) Instance
write_file(instance: Instance, path: str)

Outputs the instance as an MPS file.

  • The outputted file is compressed by gzip.

  • Only linear problems are supported.

  • Various forms of metadata, like problem description and variable/constraint names, are not preserved.