Originally posted by: AnirudhSubramanyam
Implement a cut callback function which does the following:
1. Query depth of node using CPXXgetcallbacknodeinfo() with whichinfo = CPX_CALLBACK_INFO_NODE_DEPTH in the C API.
2. If depth =0, let CPLEX take it's default action using *useraction_p = CPX_CALLBACK_DEFAULT.. Else, abort cut loop using *useraction_p = CPX_CALLBACK_ABORT_CUT_LOOP and proceed to branching.
#CPLEXOptimizers#DecisionOptimization