Originally posted by: anahana
Hi,
In a branch callback I store two arrays in an instance of IloCplex::MIPCallbackI::NodeData. The first holds the values of the variables at the current node (using getValues()), and the other hods the feasibility status of the variables (using getFeasibilities()).
When moving to a node callback and creating an instance of the node data of any node, these two arrays are full of memory garbage. Why?? There is nothing there to use.
I store all other types of information in the node data, and they are perfectly accessible from node callbacks.
Regards,
#CPLEXOptimizers#DecisionOptimization