pub_tree.h
Go to the documentation of this file.
31/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
67/** returns the set of variable branchings that were performed in the parent node to create this node */
71 SCIP_VAR** branchvars, /**< array of variables on which the branching has been performed in the parent node */
73 SCIP_BOUNDTYPE* boundtypes, /**< array of boundtypes which the branching in the parent node set */
74 int* nbranchvars, /**< number of variables on which branching has been performed in the parent node
75 * if this is larger than the array size, arrays should be reallocated and method should be called again */
79/** returns the set of variable branchings that were performed in all ancestor nodes (nodes on the path to the root) to create this node */
83 SCIP_VAR** branchvars, /**< array of variables on which the branchings has been performed in all ancestors */
85 SCIP_BOUNDTYPE* boundtypes, /**< array of boundtypes which the branchings in all ancestors set */
86 int* nbranchvars, /**< number of variables on which branchings have been performed in all ancestors
87 * if this is larger than the array size, arrays should be reallocated and method should be called again */
91/** returns the set of variable branchings that were performed between the given @p node and the given @p parent node. */
96 SCIP_VAR** branchvars, /**< array of variables on which the branchings has been performed in all ancestors */
98 SCIP_BOUNDTYPE* boundtypes, /**< array of boundtypes which the branchings in all ancestors set */
99 int* nbranchvars, /**< number of variables on which branchings have been performed in all ancestors
100 * if this is larger than the array size, arrays should be reallocated and method should be called again */
111/** returns the set of variable branchings that were performed in all ancestor nodes (nodes on the path to the root) to create this node
117 SCIP_VAR** branchvars, /**< array of variables on which the branchings has been performed in all ancestors */
119 SCIP_BOUNDTYPE* boundtypes, /**< array of boundtypes which the branchings in all ancestors set */
120 int* nbranchvars, /**< number of variables on which branchings have been performed in all ancestors
124 int* nodeswitches, /**< marks, where in the arrays the branching decisions of the next node on the path
132/** checks for two nodes whether they share the same root path, i.e., whether one is an ancestor of the other */
190/** gets the unique id to identify the node during reoptimization; id is 0 if the node is the root or not part of the
212/** counts the number of bound changes due to branching, constraint propagation, and propagation */
217 int* nconsprop, /**< pointer to store number of constraint propagations (or NULL if not needed) */
221/** gets the domain change information of the node, i.e., the information about the differences in the
271/* In optimized mode, the function calls are overwritten by defines to reduce the number of function calls and
common defines and data types used in all packages of SCIP
void SCIPnodeGetAncestorBranchings(SCIP_NODE *node, SCIP_VAR **branchvars, SCIP_Real *branchbounds, SCIP_BOUNDTYPE *boundtypes, int *nbranchvars, int branchvarssize)
Definition: tree.c:8895
void SCIPnodeSetReopttype(SCIP_NODE *node, SCIP_REOPTTYPE reopttype)
Definition: tree.c:8582
void SCIPnodeGetAncestorBranchingsPart(SCIP_NODE *node, SCIP_NODE *parent, SCIP_VAR **branchvars, SCIP_Real *branchbounds, SCIP_BOUNDTYPE *boundtypes, int *nbranchvars, int branchvarssize)
Definition: tree.c:8932
void SCIPnodeGetParentBranchings(SCIP_NODE *node, SCIP_VAR **branchvars, SCIP_Real *branchbounds, SCIP_BOUNDTYPE *boundtypes, int *nbranchvars, int branchvarssize)
Definition: tree.c:8831
void SCIPnodeGetAncestorBranchingPath(SCIP_NODE *node, SCIP_VAR **branchvars, SCIP_Real *branchbounds, SCIP_BOUNDTYPE *boundtypes, int *nbranchvars, int branchvarssize, int *nodeswitches, int *nnodes, int nodeswitchsize)
Definition: tree.c:9209
void SCIPnodeGetNDomchg(SCIP_NODE *node, int *nbranchings, int *nconsprop, int *nprop)
Definition: tree.c:8637
SCIP_NODE * SCIPnodesGetCommonAncestor(SCIP_NODE *node1, SCIP_NODE *node2)
Definition: tree.c:9282
SCIP_RATIONAL * SCIPnodeGetLowerboundExact(SCIP_NODE *node)
Definition: tree.c:8552
SCIP_Bool SCIPnodesSharePath(SCIP_NODE *node1, SCIP_NODE *node2)
Definition: tree.c:9258
void SCIPnodeGetAddedConss(SCIP_NODE *node, SCIP_CONS **addedconss, int *naddedconss, int addedconsssize)
Definition: tree.c:1769
SCIP_Bool SCIPnodeIsPropagatedAgain(SCIP_NODE *node)
Definition: tree.c:9323
SCIP_RETCODE SCIPnodePrintAncestorBranchings(SCIP_NODE *node, FILE *file)
Definition: tree.c:9157
SCIP_CONSSETCHG * SCIPnodeGetConssetchg(SCIP_NODE *node)
Definition: tree.c:9333
Definition: struct_cons.h:117
Definition: struct_cons.h:47
Definition: struct_tree.h:142
Definition: struct_rational.h:47
Definition: struct_var.h:262
data structures for branch and bound tree
type definitions for constraints and constraint handlers
type definitions for LP management
type definitions for miscellaneous datastructures
type definitions for rational numbers
type definitions for collecting reoptimization information
type definitions for return codes for SCIP methods
type definitions for branch and bound tree
type definitions for problem variables
Definition: struct_var.h:167