How can I get the number of branch and cut nodes explored within the script? I am using python docplex.
How can I get the number of branch and cut nodes explored within the script? I am using python docplex.
Use the solve details info contained in Model.solve_details. More precisely:
nb_nodes = mdl.solve_details.nb_nodes_processed