Originally posted by: srinit34
hi
I have a branch callback where I attach node data into every node with makebranch()
After some time, I default to Cplex branching, so I no longer need th enode data sitting around in the active nodes
So at this point, I attach a node callback that iterates thru all the leafs, and sets the node data in every leaf to null, expecting the java runtime to garnage collect the unused node data objects
However, I get these exceptions:
NodeCallabck exception: node data not available for node files compressed to disk : getNodedata ( node id); //or setnodeData(node id, null)
What is the correct way to do this, if it can be done?
Note that I have node file to disk and compressed ( option 3 ) , which I think I will need because the MIPs I am solving are hard.
Judging by this thread, it seems I need a "storage manager", and it is actually not possible to iterate thru all the nodes and set node data to null in a node call back (because some of them are compressed to disk).
https://www.ibm.com/developerworks/community/forums/html/topic?id=d7fdfa0b-1b9a-441f-a2f2-6c536441a553&ps=25
#CPLEXOptimizers#DecisionOptimization