15 Supported File Formats¶
MOSEK supports a range of problem and solution formats listed in Table 15.1 and Table 15.2. The Task format is MOSEK‘s native binary format and it supports all features that MOSEK supports. The OPF format is MOSEK‘s human-readable alternative that supports nearly all features (everything except semidefinite problems). In general, text formats are significantly slower to read, but can be examined and edited directly in any text editor.
Problem formats
Format Type |
Ext. |
Binary/Text |
LP |
QO |
Conic |
SDP |
Sol |
Param |
---|---|---|---|---|---|---|---|---|
lp |
plain text |
X |
X |
|||||
mps |
plain text |
X |
X |
X |
||||
opf |
plain text |
X |
X |
X |
X |
X |
||
ptf |
plain text |
X |
X |
X |
X |
X |
||
cbf |
plain text |
X |
X |
X |
||||
task |
binary |
X |
X |
X |
X |
X |
X |
|
jtask |
text |
X |
X |
X |
X |
X |
X |
Solution formats
Format Type |
Ext. |
Binary/Text |
Description |
---|---|---|---|
sol |
plain text |
Interior Solution |
|
bas |
plain text |
Basic Solution |
|
int |
plain text |
Integer |
|
jsol |
text |
Solution |
Compression
MOSEK supports GZIP and Zstandard compression. Problem files with extension .gz
(for GZIP) and .zst
(for Zstandard) are assumed to be compressed when read, and are automatically compressed when written. For example, a file called
problem.mps.gz
will be considered as a GZIP compressed MPS file.