nodesel_uct.h File Reference Detailed Descriptionuct node selector which balances exploration and exploitation by considering node visits the UCT node selection rule selects the next leaf according to a mixed score of the node's actual lower bound and the number of times it has been visited so far compared to its parent node. The idea of UCT node selection for MIP appeared in: Ashish Sabharwal and Horst Samulowitz Guiding Combinatorial Optimization with UCT (2011) The authors adapted a game-tree exploration scheme called UCB to MIP trees. Starting from the root node as current node, the algorithm selects the current node's child which maximizes the UCT score where is the node's lower bound normalized by the root lower bound, and denotes the number of times a leaf in the subtree rooted at this node has been explored so far. The selected node in the sense of the SCIP node selection is the leaf reached by the above criterion. The authors suggest that this node selection rule is particularly useful at the beginning of the solving process, but to switch to a different node selection after a number of nodes has been explored to reduce computational overhead. Our implementation uses only information available from the original SCIP tree which does not support the forward path mechanism needed for the most efficient node selection. Instead, the algorithm selects the next leaf by looping over all leaves and comparing the best leaf found so far with the next one. Two leaves l_1, l_2 are compared by following their paths back upwards until their deepest common ancestor is reached, together with the two children of representing the two paths to l_1, l_2. The leaf represented by the child of with higher UCT score is a candidate for the next selected leaf. The node selector features several parameters: the nodelimit delimits the number of explored nodes before UCT selection is turned off the weight parameter changes the relevance of the visits quotient in the UCT score (see above score formula) useestimate determines whether the node's estimate or lower bound is taken as estimate
Definition in file nodesel_uct.h. #include "scip/scip.h" Go to the source code of this file.
Function Documentation
creates the uct node selector and includes it in SCIP
Definition at line 514 of file nodesel_uct.c. References DEFAULT_NODELIMIT, DEFAULT_USEESTIMATE, DEFAULT_WEIGHT, MAXNODELIMIT, NODESEL_DESC, NODESEL_MEMSAVEPRIORITY, NODESEL_NAME, NODESEL_STDPRIORITY, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPaddIntParam(), SCIPaddRealParam(), SCIPallocBlockMemory, SCIPincludeNodeselBasic(), SCIPsetNodeselCopy(), SCIPsetNodeselExitsol(), SCIPsetNodeselFree(), SCIPsetNodeselInitsol(), and TRUE. Referenced by SCIP_DECL_NODESELCOPY(), and SCIPincludeDefaultPlugins(). |