Overview | Group | Tree | Graph | Index | Concepts |
This is an advanced routine. Advanced routines typically demand a profound understanding of the algorithms used by ILOG CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, ILOG encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.
The routine CPXfreepresolve
frees the presolved problem
from the LP problem object. Under the default setting of
CPX_PARAM_REDUCE
, the presolved problem is freed when an
optimal solution is found. It is not freed when
CPX_PARAM_REDUCE
is set to
CPX_PREREDUCE_PRIMALONLY
(1
) or
CPX_PREREDUCE_DUALONLY
(2
), so the routine
CPXfreepresolve
can be used to free it manually.
Example
status = CPXfreepresolve (env, lp);
env | A pointer to the CPLEX environment, as returned by |
lp | A pointer to a CPLEX LP problem object, as returned by |