Node API#
- class pyscipopt.scip.Node#
Base class holding a pointer to corresponding SCIP_NODE
- getAddedConss()#
Retrieve all constraints added at this node.
- Return type:
list of Constraint
- getDepth()#
Retrieve depth of node.
- Return type:
int
- getDomchg()#
Retrieve domain changes for this node.
- Return type:
DomainChanges
- getEstimate()#
Retrieve the estimated value of the best feasible solution in subtree of the node.
- Return type:
float
- getLowerbound()#
Retrieve lower bound of node.
- Return type:
float
- getNAddedConss()#
Retrieve number of added constraints at this node.
- Return type:
int
- getNDomchg()#
Retrieve the number of bound changes due to branching, constraint propagation, and propagation.
- Returns:
nbranchings (int)
nconsprop (int)
nprop (int)
- getNParentBranchings()#
Retrieve the number of variable branchings that were performed in the parent node to create this node.
- Return type:
int
- getNumber()#
Retrieve number of node.
- Return type:
int
- getParentBranchings()#
Retrieve the set of variable branchings that were performed in the parent node to create this node.
- Returns:
list of Variable
list of float
list of int
- getType()#
Retrieve type of node.
- Return type:
PY_SCIP_NODETYPE
- isActive()#
Is the node in the path to the current node?
- Return type:
bool
- isPropagatedAgain()#
Is the node marked to be propagated again?
- Return type:
bool