ILOG CPLEX 11.0 File Formats > > ILOG CPLEX File Formats > Entering Problems in the Interactive Optimizer

The Interactive Optimizer accepts problems that you read in from files by means of the read command or that you enter interactively by means of the enter command. When you enter a problem interactively, ILOG CPLEX uses the LP file format; you may save the problem in any supported file format that you choose.

The read command of the ILOG CPLEX Interactive Optimizer accepts problem files in LP, MPS, and SAV formats. It also accepts basis files in BAS format. Problems previously saved in DUA, EMB, or REW formats are actually in MPS format. Presolved problems saved with the pre option are in SAV format. Problems in which the objective function has been perturbed and the problem saved with the dpe option are in SAV format. Problems in which the righthand side has been perturbed and the problem saved with the ppe option are in SAV format. Normally, ILOG CPLEX automatically detects which of these file types it is reading; you may also designate the correct file type if ILOG CPLEX does not detect the type automatically.

When ILOG CPLEX reads LP or MPS files, it automatically allocates enough physical memory (if available) to read the problem.

ILOG CPLEX reallocates memory automatically as it is reading from LP and MPS files so it usually not necessary to set values for the parameters ColReadLim, RowReadLim, and NzReadLim, but you can set these parameters to the problem sizes so no re-allocations need be done.When ILOG CPLEX reads a SAV file, it is not necessary for you to reset these parameters. SAV files contain sufficient information about the size of the problem for ILOG CPLEX to allocate adequate space.