PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
Nodesel Class Reference

Public Member Functions

def nodecomp (self, node1, node2)
 
def nodeexit (self)
 
def nodeexitsol (self)
 
def nodefree (self)
 
def nodeinit (self)
 
def nodeinitsol (self)
 
def nodeselect (self)
 

Detailed Description

Definition at line 3 of file nodesel.pxi.

Member Function Documentation

◆ nodecomp()

def nodecomp (   self,
  node1,
  node2 
)
compare two leaves of the current branching tree

It should return the following values:

  value < 0, if node 1 comes before (is better than) node 2
  value = 0, if both nodes are equally good
  value > 0, if node 1 comes after (is worse than) node 2.

Definition at line 31 of file nodesel.pxi.

◆ nodeexit()

def nodeexit (   self)
executed before the transformed problem is freed

Definition at line 14 of file nodesel.pxi.

◆ nodeexitsol()

def nodeexitsol (   self)
executed before the branch-and-bound process is freed

Definition at line 22 of file nodesel.pxi.

◆ nodefree()

def nodefree (   self)
frees memory of node selector

Definition at line 6 of file nodesel.pxi.

◆ nodeinit()

def nodeinit (   self)
executed after the problem is transformed. use this call to initialize node selector data.

Definition at line 10 of file nodesel.pxi.

◆ nodeinitsol()

def nodeinitsol (   self)
executed when the presolving is finished and the branch-and-bound process is about to begin

Definition at line 18 of file nodesel.pxi.

◆ nodeselect()

def nodeselect (   self)
first method called in each iteration in the main solving loop. 

Definition at line 26 of file nodesel.pxi.


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