Overview | Group | Index | Concepts |
The routine CPXpreslvwrite
writes a presolved
version of the problem to a file. The file is saved in binary format, and
can be read using the routine CPXreadcopyprob
.
CPXpreslvwrite
may not be the
same as the optimal objective of the original problem. The argument
objoff_p
can be used to reconcile this difference.
Example
status = CPXpreslvwrite (env, lp, "myfile.pre", &objoff);
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
filename_str | A character string containing the name of the file to which the presolved problem should be written. |
objoff_p | A pointer to a double precision variable that is used to hold the objective value difference between the original problem and the presolved problem. That is: |