CPXXfreeusercuts and CPXfreeusercuts
The routine CPXXfreeusercuts/CPXfreeusercuts clears the list of
user cuts that have been previously specified through calls to
CPXXaddusercuts/CPXaddusercuts.
int CPXXfreeusercuts( CPXCENVptr env, CPXLPptr lp )
int CPXfreeusercuts( CPXCENVptr env, CPXLPptr lp )
Description
This is an advanced routine. Advanced routines typically demand a thorough understanding of the algorithms used by CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, the team encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.
The routine CPXXfreeusercuts/CPXfreeusercuts clears the list of
user cuts that have been previously specified through calls to
CPXXaddusercuts/CPXaddusercuts.
Arguments
- env
-
A pointer to the CPLEX environment, as returned by
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX LP problem object, as returned by
CPXXcreateprob/CPXcreateprob.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.Example
status = CPXfreeusercuts (env, lp);