PySCIPOpt
Python Interface to the SCIP Optimization Suite
Column Class Reference

Public Member Functions

def getLPPos (self)
 
def getBasisStatus (self)
 
def isIntegral (self)
 
def getVar (self)
 
def getPrimsol (self)
 
def getLb (self)
 
def getUb (self)
 

Static Public Attributes

 col = Column()
 

Detailed Description

Base class holding a pointer to corresponding SCIP_COL

Definition at line 280 of file scip.pyx.

Member Function Documentation

def getBasisStatus (   self)
gets the basis status of a column in the LP solution, Note: returns basis status `zero` for columns not in the current SCIP LP

Definition at line 294 of file scip.pyx.

References SCIP_EventRowCoefChanged.col, SCIP_Var.col, Column.col, and SCIPcolGetBasisStatus().

def getLb (   self)
gets lower bound of column

Definition at line 321 of file scip.pyx.

References SCIP_EventRowCoefChanged.col, SCIP_Var.col, Column.col, and SCIPcolGetLb().

def getLPPos (   self)
gets position of column in current LP, or -1 if it is not in LP

Definition at line 290 of file scip.pyx.

References SCIP_EventRowCoefChanged.col, SCIP_Var.col, Column.col, and SCIPcolGetLPPos().

def getPrimsol (   self)
gets the primal LP solution of a column

Definition at line 317 of file scip.pyx.

References SCIP_EventRowCoefChanged.col, SCIP_Var.col, Column.col, and SCIPcolGetPrimsol().

def getUb (   self)
gets upper bound of column

Definition at line 325 of file scip.pyx.

References SCIP_EventRowCoefChanged.col, SCIP_Var.col, Column.col, and SCIPcolGetUb().

def getVar (   self)
gets variable this column represents

Definition at line 312 of file scip.pyx.

References SCIP_EventRowCoefChanged.col, SCIP_Var.col, Column.col, and SCIPcolGetVar().

def isIntegral (   self)
returns whether the associated variable is of integral type (binary, integer, implicit integer)

Definition at line 308 of file scip.pyx.

References SCIP_EventRowCoefChanged.col, SCIP_Var.col, Column.col, and SCIPcolIsIntegral().


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