PySCIPOpt  4.3.0
Python Interface for the SCIP Optimization Suite
Node Class Reference

Public Member Functions

def __eq__ (self, other)
 
def __hash__ (self)
 
def getAddedConss (self)
 
def getDepth (self)
 
def getDomchg (self)
 
def getEstimate (self)
 
def getLowerbound (self)
 
def getNAddedConss (self)
 
def getNDomchg (self)
 
def getNParentBranchings (self)
 
def getNumber (self)
 
def getParent (self)
 
def getParentBranchings (self)
 
def getType (self)
 
def isActive (self)
 
def isPropagatedAgain (self)
 

Static Public Attributes

 node = Node()
 
 scip_node
 

Detailed Description

Base class holding a pointer to corresponding SCIP_NODE

Definition at line 637 of file scip.pyx.

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

◆ __hash__()

def __hash__ (   self)

Definition at line 748 of file scip.pyx.

References Node.scip_node.

◆ getAddedConss()

def getAddedConss (   self)
Retrieve all constraints added at this node.

Definition at line 672 of file scip.pyx.

References Node.scip_node, SCIPnodeGetAddedConss(), and SCIPnodeGetNAddedConss().

◆ getDepth()

def getDepth (   self)
Retrieve depth of node.

Definition at line 656 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetDepth().

◆ getDomchg()

def getDomchg (   self)
Retrieve domain changes for this node.

Definition at line 741 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetDomchg().

◆ getEstimate()

def getEstimate (   self)
Retrieve the estimated value of the best feasible solution in subtree of the node

Definition at line 668 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetEstimate().

◆ getLowerbound()

def getLowerbound (   self)
Retrieve lower bound of node.

Definition at line 664 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetLowerbound().

◆ getNAddedConss()

def getNAddedConss (   self)
Retrieve number of added constraints at this node

Definition at line 685 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetNAddedConss().

◆ getNDomchg()

def getNDomchg (   self)
Retrieve the number of bound changes due to branching, constraint propagation, and propagation.

Definition at line 733 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetNDomchg().

◆ getNParentBranchings()

def getNParentBranchings (   self)
Retrieve the number of variable branchings that were performed in the parent node to create this node.

Definition at line 697 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetParentBranchings().

◆ getNumber()

def getNumber (   self)
Retrieve number of node.

Definition at line 652 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetNumber().

◆ getParent()

def getParent (   self)
Retrieve parent node (or None if the node has no parent node).

Definition at line 648 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetParent().

◆ getParentBranchings()

def getParentBranchings (   self)
Retrieve the set of variable branchings that were performed in the parent node to create this node.

Definition at line 711 of file scip.pyx.

References Node.getNParentBranchings(), Node.scip_node, and SCIPnodeGetParentBranchings().

◆ getType()

def getType (   self)
Retrieve type of node.

Definition at line 660 of file scip.pyx.

References Node.scip_node, and SCIPnodeGetType().

◆ isActive()

def isActive (   self)
Is the node in the path to the current node?

Definition at line 689 of file scip.pyx.

References Node.scip_node, and SCIPnodeIsActive().

◆ isPropagatedAgain()

def isPropagatedAgain (   self)
Is the node marked to be propagated again?

Definition at line 693 of file scip.pyx.

References Node.scip_node, and SCIPnodeIsPropagatedAgain().

Member Data Documentation

◆ node

node = Node()
static

Definition at line 644 of file scip.pyx.

◆ scip_node

scip_node
static

Definition at line 645 of file scip.pyx.


The documentation for this class was generated from the following file: