Model File Formats


Model File Formats

The Gurobi optimizer works with a variety of file formats. The MPS, REW, LP, RLP, and ILP formats are used to hold optimization models. The MST format is used to hold MIP start data. Importing this data into a MIP model allows the MIP model to start with a known feasible solution. The ORD format is used to hold MIP variable branching priorities. Importing this data into a MIP model affects the search strategy. The BAS format holds simplex basis information. Importing this data into a continuous models allows the simplex algorithm to start from the given simplex basis. The SOL format holds a solution vector. It can be written once the model has been optimized. PRM format holds parameter values. Importing this data into a model changes the values of the referenced parameters.

Note that all of the Gurobi file I/O routines can work with compressed versions of these files. Specifically, we can read or write files with the following extensions: .zip, .gz, .bz2, and .7z.



Subsections