PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
pyscipopt.heuristic Namespace Reference

Classes

class  Heur
 

Functions

def heurexec (self, heurtiming, nodeinfeasible)
 
def heurexit (self)
 
def heurexitsol (self)
 
def heurfree (self)
 
def heurinit (self)
 
def heurinitsol (self)
 

Variables

 heurdata = SCIPheurGetData(heur)
 
 PyHeur = <Heur>heurdata
 
def result_dict = PyHeur.heurexec(heurtiming, nodeinfeasible)
 

Function Documentation

◆ heurexec()

def pyscipopt.heuristic.heurexec (   self,
  heurtiming,
  nodeinfeasible 
)
should the heuristic the executed at the given depth, frequency, timing,...

Definition at line 27 of file heuristic.pxi.

◆ heurexit()

def pyscipopt.heuristic.heurexit (   self)
calls exit method of primal heuristic

Definition at line 15 of file heuristic.pxi.

◆ heurexitsol()

def pyscipopt.heuristic.heurexitsol (   self)
informs primal heuristic that the branch and bound process data is being freed

Definition at line 23 of file heuristic.pxi.

◆ heurfree()

def pyscipopt.heuristic.heurfree (   self)
calls destructor and frees memory of primal heuristic

Definition at line 7 of file heuristic.pxi.

◆ heurinit()

def pyscipopt.heuristic.heurinit (   self)
initializes primal heuristic

Definition at line 11 of file heuristic.pxi.

◆ heurinitsol()

def pyscipopt.heuristic.heurinitsol (   self)
informs primal heuristic that the branch and bound process is being started

Definition at line 19 of file heuristic.pxi.

Variable Documentation

◆ heurdata

heurdata = SCIPheurGetData(heur)

Definition at line 39 of file heuristic.pxi.

◆ PyHeur

PyHeur = <Heur>heurdata

Definition at line 40 of file heuristic.pxi.

◆ result_dict

def result_dict = PyHeur.heurexec(heurtiming, nodeinfeasible)

Definition at line 77 of file heuristic.pxi.