Is the root node included in the nodeCount attribute?
回答済みHello,
From the documentation of nodeCount it says: "Number of branch-and-cut nodes explored in the most recent optimization." Moreover, under MIP Logging it says that nodeCount is zero whenever the MIP solver is processing the root node. However, it is not clear to me whether or not the root node is included as one of the branch-and-cut nodes. When I am solving a set of MILP instances to optimality some of them reported that nodeCount is 0 and others reported 1. What is the difference between these? Are both solved to optimality in the root node, but one at an earlier point than the other? Or has the MIP solver branched on a variable, but found the optimal solution after just processing one child node?
Best regards,
Jørgen
-
Hi Jørgen,
Please excuse not getting to you for so long. Currently, it is possible that the NodeCount attribute reports 0 although a B&B line has been printed, i.e., the root node has been solved. This will no longer be the case in a future release and the root node will be properly included in the node count. The NodeCount attribute will only show 0 when the problem has been solved in presolve, i.e., no nodes have been opened. Thank you for reporting this.
Best regards,
Jaromił0
サインインしてコメントを残してください。
コメント
1件のコメント