scip_tree.h
Go to the documentation of this file.
29 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
51 * if we are in probing/diving mode this method returns the node in the tree where the probing/diving mode was started.
81 /** gets depth of current node, or -1 if no current node exists; in probing, the current node is the last probing node,
84 * @return the depth of current node, or -1 if no current node exists; in probing, the current node is the last probing node,
103 /** gets depth of the focus node, or -1 if no focus node exists; the focus node is the currently processed node in the
106 * @return the depth of the focus node, or -1 if no focus node exists; the focus node is the currently processed node in the
153 /** gets the effective root depth, i.e., the depth of the deepest node which is part of all paths from the root node
183 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
210 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
237 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
276 /** gets the best child of the focus node w.r.t. the node selection priority assigned by the branching rule
278 * @return the best child of the focus node w.r.t. the node selection priority assigned by the branching rule
288 /** gets the best sibling of the focus node w.r.t. the node selection priority assigned by the branching rule
290 * @return the best sibling of the focus node w.r.t. the node selection priority assigned by the branching rule
336 /** gets the best node from the tree (child, sibling, or leaf) w.r.t. the node selection strategy
338 * @return the best node from the tree (child, sibling, or leaf) w.r.t. the node selection strategy
378 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
390 /** marks the given node to be propagated again the next time a node of its subtree is processed
392 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
430 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
445 * @note In order to have an effect, this method needs to be called after a node is focused but before the LP is
SCIP_EXPORT SCIP_RETCODE SCIPprintNodeRootPath(SCIP *scip, SCIP_NODE *node, FILE *file)
Definition: scip_tree.c:496
Definition: struct_scip.h:58
SCIP_EXPORT void SCIPsetFocusnodeLP(SCIP *scip, SCIP_Bool solvelp)
Definition: scip_tree.c:592
SCIP_EXPORT SCIP_RETCODE SCIPgetOpenNodesData(SCIP *scip, SCIP_NODE ***leaves, SCIP_NODE ***children, SCIP_NODE ***siblings, int *nleaves, int *nchildren, int *nsiblings)
Definition: scip_tree.c:387
SCIP_EXPORT SCIP_RETCODE SCIPgetChildren(SCIP *scip, SCIP_NODE ***children, int *nchildren)
Definition: scip_tree.c:153
SCIP_EXPORT SCIP_RETCODE SCIPcutoffNode(SCIP *scip, SCIP_NODE *node)
Definition: scip_tree.c:423
type definitions for return codes for SCIP methods
Definition: struct_tree.h:132
SCIP_EXPORT int SCIPgetEffectiveRootDepth(SCIP *scip)
Definition: scip_tree.c:116
SCIP_EXPORT SCIP_RETCODE SCIPgetLeaves(SCIP *scip, SCIP_NODE ***leaves, int *nleaves)
Definition: scip_tree.c:237
type definitions for SCIP's main datastructure
type definitions for branch and bound tree
SCIP_EXPORT SCIP_NODE * SCIPgetBestboundNode(SCIP *scip)
Definition: scip_tree.c:373
SCIP_EXPORT SCIP_RETCODE SCIPgetSiblings(SCIP *scip, SCIP_NODE ***siblings, int *nsiblings)
Definition: scip_tree.c:195
SCIP_EXPORT SCIP_RETCODE SCIPrepropagateNode(SCIP *scip, SCIP_NODE *node)
Definition: scip_tree.c:444
common defines and data types used in all packages of SCIP
Definition: objbenders.h:33