Saving Problems in the Interactive Optimizer

In the Interactive Optimizer, you save the problem currently in memory as a file in the LP, MPS, or SAV formats by means of the write command and its options. Use the bas option to save a problem basis in MPS format. Use the iis option to write an irreducibly inconsistent set (IIS) for infeasibility analysis. Use the dpe to write perturbed problems for the dual simplex optimizer in SAV format; use the ppe option to write perturbed problems for use with the primal simplex optimizer in SAV format. Use the pre option to write a SAV file for the reduced, presolved problem formulation.

The SAV file format 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.


Previous Page: Entering Problems in the Interactive Optimizer  Return to Top Next Page: LP File Format