Forum Discussion
FICO
1 year agoCommunity Manager
Is it possible to output wether or not Branch and Bound was used during optimization?
On my current MIP model I'm checking the value of the ALGORITHM attribute to see which algorithm is used. This works fine for smaller parameters, but via setparam("XPRS_verbose", true) I noticed that...
FICO
1 year agoCommunity Manager
Ah, thanks for the quick response and the explanation. I guess NODES should work, but since B&B is technically already being used at the root, then its not necessary for me to mention it. So am I right reading the following verbose output as, that this optimization stopped in the root after root cutting&heuristics, or did it even stop before, since "number of nodes" is 0?
Starting root cutting & heuristics
Deterministic mode with up to 2 additional threads
Its Type BestSoln BestBound Sols Add Del Gap GInf Time
P 1.000000 1.000000 1 0.00% 0 23
STOPPING - MIPRELSTOP target reached (MIPRELSTOP=0.0001 gap=0).
*** Search completed ***
Uncrunching matrix
Final MIP objective : 1.000000000000000e+00
Final MIP bound : 1.000000000000000e+00
Solution time / primaldual integral : 23.54s/ 99.541160%
Work / work units per second : 22.97 / 0.98
Number of solutions found / nodes : 1 / 0
Max primal violation (abs/rel) : 0.0 / 0.0
Max integer violation (abs ) : 0.0
