CPXXcallbackexitcutloop and CPXcallbackexitcutloop

Instructs CPLEX to exit the cutloop at the current node from a callback in the context CPX_CALLBACKCONTEXT_RELAXATION.

int  CPXXcallbackexitcutloop( CPXCALLBACKCONTEXTptr context )

int  CPXcallbackexitcutloop( CPXCALLBACKCONTEXTptr context )

Description

This routine instructs CPLEX to exit the cutloop and abort cut separation at the current node. If the routine is invoked, any user cut added in the same invocation of the callback is disregarded.

Tip: Calling this routine is valid only if the callback was invoked in the context CPX_CALLBACKCONTEXT_RELAXATION. In all other contexts, this routine returns an error.

Arguments

context

The callback context as passed into the user-written callback function.

Return

The routine returns 0 (zero) if successful and nonzero if an error occurs.