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

Philippe Couronne
- 826
- 1
- 5
- 6
-
Many thanks, Philipe, you don´t know how much time I spent trying to find this out. – Pablo Adasme Sep 07 '21 at 15:09
-
1You're welcome, I'll try to improve the doc. Would you consider flagging the answer as "useful" for other users? Thxs – Philippe Couronne Sep 08 '21 at 07:59