Skip to content

Optimization Problem MPS File

One can expect from any GEMS interpreter to export the fully assembled optimisation problem in a standard mathematical programming format MPS. The exported file contains the complete linear or mixed-integer formulation constructed from the system configuration, model libraries, and input data.

This export is primarily intended for verification, debugging, and external analysis of the optimisation problem.

A GEMS interpreter generates a MPS file in the study output directory. This functionality is available only in the Antares Modeler interpreter. The GemsPy interpreter does not currently have a native function for this purpose; using the dedicated method of the underlying OR-Tools object that represents the optimisation problem is one possible way to export the MPS file.

For example, the file 1-1.mps is automatically created in the output folder and represents the exact optimisation problem solved during the execution.

The file is typically overwritten each time the study is executed.