Originally posted by: skkim
Hi, all. I have a function that only executes at the root node, so I would like to create something like
BranchCallBack1() {
IloCplex::BranchCallbackI::NodeId nodeId;
nodeId=getNodeId();
if(nodeId==0)
getEnv().out() << "node 0" << endl;
}
It is giving me the following error: no match for 'operator!=' in 'nodeId == 0'
How can I make this work? Or How can I let callback function know the process at the root node?
#CPLEXOptimizers#DecisionOptimization