> Advanced Programming Techniques > User Cut and Lazy Constraint Pools > Deleting User Cuts and Lazy Constraints

The user cut and lazy constraint pools are cleared by calling the routines CPXfreeusercuts and CPXfreelazyconstraints. Clearing the pools will not change the MIP solution.

The Concert Technology routines are IloCplex::clearUserCuts and IloCplex::clearLazyConstraints.

Clearing a pool means that the user cuts and lazy constraints in the pool will be removed and will not be applied the next time MIP optimization is called, and that the solution to the MIP (if one exists) is still available. Although any existing solution is still feasible, it may no longer be optimal because of this change in the constraints.