I am implementing a node selector. I was thinking that SCIPgetLeaves
will give me the list of current nodes among which one needs to be selected for further branching. After the presolving stage, SCIPgetLeaves
in NODESELSELECT()
doesn't return any node. Instead, I had to use SCIPgetFocusNode()
.
The documentation states that the NODESELSELECT()
chooses one of leaves, children and siblings, so I tried collecting all three. Is there a reason why children and siblings of the root node are not included in leaves after the presolving stage? Just trying to understand the design of SCIP.