AnsweredAssumed Answered

Get branching information in callback functions

Question asked by einarea on Feb 19, 2018

Hi, Im working with Xpress-BCL.

Is there a way to get the variables or expression branched on in the node callback functions?

Consider for instance binary variables x1, x2, x3. If the callback node is in the  x1 <= 0, x2>=1 branch and poses no restrictions on x3, is there a way to get this information about the variables?


Also is there a way to add a cut in a callback node and immediately solve the new LP-relaxation to see the effect of the new cut? Something like the following:



     currentObj = prob.getObjective();


     newObj = prob.lpOptimize() ;