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

Public Member Functions

def __eq__ (self, other)
 
def __hash__ (self)
 
def getAge (self)
 
def getBasisStatus (self)
 
def getLb (self)
 
def getLPPos (self)
 
def getObjCoeff (self)
 
def getPrimsol (self)
 
def getUb (self)
 
def getVar (self)
 
def isIntegral (self)
 

Static Public Attributes

 col = Column()
 
 scip_col
 

Detailed Description

Base class holding a pointer to corresponding SCIP_COL

Definition at line 366 of file scip.pxi.

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

Definition at line 428 of file scip.pxi.

References Event.__class__, Column.__class__, and Column.scip_col.

◆ __hash__()

def __hash__ (   self)

Definition at line 425 of file scip.pxi.

References Column.scip_col.

◆ getAge()

def getAge (   self)
Gets the age of the column, i.e., the total number of successive times a column was in the LP
and was 0.0 in the solution

Definition at line 420 of file scip.pxi.

References Column.scip_col, and SCIPcolGetAge().

◆ getBasisStatus()

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

References Column.scip_col, and SCIPcolGetBasisStatus().

◆ getLb()

def getLb (   self)
gets lower bound of column

Definition at line 408 of file scip.pxi.

References Column.scip_col, and SCIPcolGetLb().

◆ getLPPos()

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

Definition at line 377 of file scip.pxi.

References Column.scip_col, and SCIPcolGetLPPos().

◆ getObjCoeff()

def getObjCoeff (   self)
gets objective value coefficient of a column

Definition at line 416 of file scip.pxi.

References Column.scip_col, and SCIPcolGetObj().

◆ getPrimsol()

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

Definition at line 404 of file scip.pxi.

References Column.scip_col, and SCIPcolGetPrimsol().

◆ getUb()

def getUb (   self)
gets upper bound of column

Definition at line 412 of file scip.pxi.

References Column.scip_col, and SCIPcolGetUb().

◆ getVar()

def getVar (   self)
gets variable this column represents

Definition at line 399 of file scip.pxi.

References Column.scip_col, and SCIPcolGetVar().

◆ isIntegral()

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

Definition at line 395 of file scip.pxi.

References Column.scip_col, and SCIPcolIsIntegral().

Member Data Documentation

◆ col

col = Column()
static

Definition at line 373 of file scip.pxi.

◆ scip_col

scip_col
static

Definition at line 374 of file scip.pxi.


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