PySCIPOpt  5.1.1
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 698 of file scip.pxi.

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

◆ __hash__()

def __hash__ (   self)

Definition at line 809 of file scip.pxi.

References Node.scip_node.

◆ getAddedConss()

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

Definition at line 733 of file scip.pxi.

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

◆ getDepth()

def getDepth (   self)
Retrieve depth of node.

Definition at line 717 of file scip.pxi.

References Node.scip_node, and SCIPnodeGetDepth().

◆ getDomchg()

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

Definition at line 802 of file scip.pxi.

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 729 of file scip.pxi.

References Node.scip_node, and SCIPnodeGetEstimate().

◆ getLowerbound()

def getLowerbound (   self)
Retrieve lower bound of node.

Definition at line 725 of file scip.pxi.

References Node.scip_node, and SCIPnodeGetLowerbound().

◆ getNAddedConss()

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

Definition at line 746 of file scip.pxi.

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 794 of file scip.pxi.

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 758 of file scip.pxi.

References Node.scip_node, and SCIPnodeGetParentBranchings().

◆ getNumber()

def getNumber (   self)
Retrieve number of node.

Definition at line 713 of file scip.pxi.

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 709 of file scip.pxi.

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 772 of file scip.pxi.

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

◆ getType()

def getType (   self)
Retrieve type of node.

Definition at line 721 of file scip.pxi.

References Node.scip_node, and SCIPnodeGetType().

◆ isActive()

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

Definition at line 750 of file scip.pxi.

References Node.scip_node, and SCIPnodeIsActive().

◆ isPropagatedAgain()

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

Definition at line 754 of file scip.pxi.

References Node.scip_node, and SCIPnodeIsPropagatedAgain().

Member Data Documentation

◆ node

node = Node()
static

Definition at line 705 of file scip.pxi.

◆ scip_node

scip_node
static

Definition at line 706 of file scip.pxi.


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