ILOG CPLEX 11.0 File Formats > > ILOG CPLEX File Formats > Saving Problems in the Interactive Optimizer |
Saving Problems in the Interactive Optimizer |
INDEX PREVIOUS NEXT |
In the Interactive Optimizer, you save information about the problem currently in memory as a file in the LP, MPS, or SAV formats by means of the write
command and its options. For a complete list of file formats that ILOG CPLEX supports, see Brief Descriptions of File Formats. Here are the options in the Interactive Optimizer for frequently used formats:
bas
option to save a problem basis in MPS format.
clp
option to write a conflict subproblem.
flt
option to write filters for the solution pool.
mst
option to write MIP start files. This option also applies to solutions in the solution pool. In fact, an additional option specifies whether to write a single solutionspecified by its index, or to write all solutions from the solution pool as MIP starts.
pre
option to write a SAV file for the reduced, presolved problem formulation.
prm
option to write a file of nondefault parameter settings.
sol
option to write solution files. This option also applies to solutions in the solution pool. In fact, an additional option specifies whether to write a single solutionspecified by its index, or to write all solutions from the solution pool.
The SAV file format, because it is binary, is the format that preserves the greatest degree of precision in data. It can be effective in reducing read and write time for repetitively solved problems. However, because it is a binary format, it cannot be readily viewed or edited in standard text editors.
As a naming convention, we recommend that you use the file format for reading the file as the file extension when you write or save the file (for instance, example.bas
, example.lp
, example.mps
, example.sav
). When you follow this convention, ILOG CPLEX automatically recognizes the file type and eliminates additional prompts for you to specify a file type.
Copyright © 1987-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |