Selecting a write file format
The Interactive Optimizer writes files in a variety of formats, according to options you specify.
When you type the write command
in the Interactive Optimizer, CPLEX displays a menu of options and
prompts you for a file format, like this:
File type options:
alp LP format problem with generic names and bound annotations
bas INSERT format basis file
clp Conflict file
dpe Binary format for dual-perturbed problem
dua MPS format of explicit dual of problem
emb MPS format of (embedded) network
flt Solution pool filters
lp LP format problem file
min DIMACS min-cost network-flow format of (embedded) network
mps MPS format problem file
mst MIP start file
net CPLEX network format of (embedded) network
ord Integer priority order file
ppe Binary format for primal-perturbed problem
pre Binary format for presolved problem
prm Non-default parameter settings
rlp LP format problem with generic names
rew MPS format problem with generic names
sav Binary matrix and basis file
sol Solution file
File type:
The BAS format is used for storing basis information and is introduced in Writing basis files. See also Reading basis files.
The LP format was discussed in Using the LP format. Using this format is explained in Writing LP files and Reading LP files.
The MPS format is covered in Reading MPS files.
Note:All these file formats are documented in more detail in the CPLEX File Formats Reference Manual .