After you enter a QP problem, whether interactively or by reading a formatted file, you can then save the problem in a formatted file. The formats available to you are LP, MPS, and SAV. When you save a QP problem in one of these formats, the quadratic information will also be recorded in the formatted file.
In addition, you can save the quadratic part of a problem in a QP file (a formatted file with the extension .qp
, as explained in the reference manual of ILOG CPLEX File Formats). To do so:
-
In the Interactive Optimizer, use the
write
command
-
In the Callable Library, use the routine
CPXqpwrite
.
-
Writing a QP format file is not supported by
IloCplex
.