PySCIPOpt  4.3.0
Python Interface for the SCIP Optimization Suite
pyscipopt.cutsel Namespace Reference

Classes

class  Cutsel
 

Functions

def cutselexit (self)
 
def cutselexitsol (self)
 
def cutselfree (self)
 
def cutselinit (self)
 
def cutselinitsol (self)
 
def cutselselect (self, cuts, forcedcuts, root, maxnselectedcuts)
 

Variables

 cutseldata = SCIPcutselGetData(cutsel)
 
list pycuts = [Row.create(cuts[i]) for i in range(ncuts)]
 
 PyCutsel = <Cutsel>cutseldata
 
list pyforcedcuts = [Row.create(forcedcuts[i]) for i in range(nforcedcuts)]
 
def result_dict = PyCutsel.cutselselect(pycuts, pyforcedcuts, root, maxnselectedcuts)
 

Function Documentation

◆ cutselexit()

def pyscipopt.cutsel.cutselexit (   self)
executed before the transformed problem is freed

Definition at line 14 of file cutsel.pxi.

◆ cutselexitsol()

def pyscipopt.cutsel.cutselexitsol (   self)
executed before the branch-and-bound process is freed

Definition at line 22 of file cutsel.pxi.

◆ cutselfree()

def pyscipopt.cutsel.cutselfree (   self)
frees memory of cut selector

Definition at line 6 of file cutsel.pxi.

◆ cutselinit()

def pyscipopt.cutsel.cutselinit (   self)
executed after the problem is transformed. use this call to initialize cut selector data.

Definition at line 10 of file cutsel.pxi.

◆ cutselinitsol()

def pyscipopt.cutsel.cutselinitsol (   self)
executed when the presolving is finished and the branch-and-bound process is about to begin

Definition at line 18 of file cutsel.pxi.

◆ cutselselect()

def pyscipopt.cutsel.cutselselect (   self,
  cuts,
  forcedcuts,
  root,
  maxnselectedcuts 
)
first method called in each iteration in the main solving loop. 

Definition at line 26 of file cutsel.pxi.

Variable Documentation

◆ cutseldata

cutseldata = SCIPcutselGetData(cutsel)

Definition at line 37 of file cutsel.pxi.

◆ pycuts

def pycuts = [Row.create(cuts[i]) for i in range(ncuts)]

Definition at line 81 of file cutsel.pxi.

◆ PyCutsel

PyCutsel = <Cutsel>cutseldata

Definition at line 38 of file cutsel.pxi.

◆ pyforcedcuts

list pyforcedcuts = [Row.create(forcedcuts[i]) for i in range(nforcedcuts)]

Definition at line 82 of file cutsel.pxi.

◆ result_dict

def result_dict = PyCutsel.cutselselect(pycuts, pyforcedcuts, root, maxnselectedcuts)

Definition at line 83 of file cutsel.pxi.