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

Public Member Functions

def __eq__ (self, other)
 
def __get__ (self)
 
def __hash__ (self)
 
def getAge (self)
 
def getBasisStatus (self)
 
def getCols (self)
 
def getConsOriginConshdlrtype (self)
 
def getConstant (self)
 
def getLhs (self)
 
def getLPPos (self)
 
def getNLPNonz (self)
 
def getNNonz (self)
 
def getNorm (self)
 
def getOrigintype (self)
 
def getRhs (self)
 
def getVals (self)
 
def isInGlobalCutpool (self)
 
def isIntegral (self)
 
def isLocal (self)
 
def isModifiable (self)
 
def isRemovable (self)
 

Static Public Attributes

 row = Row()
 
 scip_row
 

Detailed Description

Base class holding a pointer to corresponding SCIP_ROW

Definition at line 432 of file scip.pxi.

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

Definition at line 537 of file scip.pxi.

References Event.__class__, Column.__class__, Row.__class__, and Row.scip_row.

◆ __get__()

def __get__ (   self)

Definition at line 444 of file scip.pxi.

References Row.scip_row, and SCIProwGetName().

◆ __hash__()

def __hash__ (   self)

Definition at line 534 of file scip.pxi.

References Row.scip_row.

◆ getAge()

def getAge (   self)
Gets the age of the row. (The consecutive times the row has been non-active in the LP)

Definition at line 526 of file scip.pxi.

References Row.scip_row, and SCIProwGetAge().

◆ getBasisStatus()

def getBasisStatus (   self)
gets the basis status of a row in the LP solution, Note: returns basis status `basic` for rows not in the current SCIP LP

Definition at line 464 of file scip.pxi.

References Row.scip_row, and SCIProwGetBasisStatus().

◆ getCols()

def getCols (   self)
gets list with columns of nonzero entries

Definition at line 516 of file scip.pxi.

References Row.getNNonz(), Row.scip_row, and SCIProwGetCols().

◆ getConsOriginConshdlrtype()

def getConsOriginConshdlrtype (   self)
returns type of constraint handler that created the row

Definition at line 503 of file scip.pxi.

References Row.scip_row, SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIProwGetOriginCons().

◆ getConstant()

def getConstant (   self)
gets constant shift of row

Definition at line 456 of file scip.pxi.

References Row.scip_row, and SCIProwGetConstant().

◆ getLhs()

def getLhs (   self)
returns the left hand side of row

Definition at line 448 of file scip.pxi.

References Row.scip_row, and SCIProwGetLhs().

◆ getLPPos()

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

Definition at line 460 of file scip.pxi.

References Row.scip_row, and SCIProwGetLPPos().

◆ getNLPNonz()

def getNLPNonz (   self)
get number of nonzero entries in row vector that correspond to columns currently in the SCIP LP

Definition at line 512 of file scip.pxi.

References Row.scip_row, and SCIProwGetNLPNonz().

◆ getNNonz()

def getNNonz (   self)
get number of nonzero entries in row vector

Definition at line 508 of file scip.pxi.

References Row.scip_row, and SCIProwGetNNonz().

◆ getNorm()

def getNorm (   self)
gets Euclidean norm of row vector 

Definition at line 530 of file scip.pxi.

References Row.scip_row, and SCIProwGetNorm().

◆ getOrigintype()

def getOrigintype (   self)
returns type of origin that created the row

Definition at line 499 of file scip.pxi.

References Row.scip_row, and SCIProwGetOrigintype().

◆ getRhs()

def getRhs (   self)
returns the right hand side of row

Definition at line 452 of file scip.pxi.

References Row.scip_row, and SCIProwGetRhs().

◆ getVals()

def getVals (   self)
gets list with coefficients of nonzero entries

Definition at line 521 of file scip.pxi.

References Row.getNNonz(), Row.scip_row, and SCIProwGetVals().

◆ isInGlobalCutpool()

def isInGlobalCutpool (   self)
return TRUE iff row is a member of the global cut pool

Definition at line 495 of file scip.pxi.

References Row.scip_row, and SCIProwIsInGlobalCutpool().

◆ isIntegral()

def isIntegral (   self)
returns TRUE iff the activity of the row (without the row's constant) is always integral in a feasible solution 

Definition at line 479 of file scip.pxi.

References Row.scip_row, and SCIProwIsIntegral().

◆ isLocal()

def isLocal (   self)
returns TRUE iff the row is only valid locally 

Definition at line 483 of file scip.pxi.

References Row.scip_row, and SCIProwIsLocal().

◆ isModifiable()

def isModifiable (   self)
returns TRUE iff row is modifiable during node processing (subject to column generation) 

Definition at line 487 of file scip.pxi.

References Row.scip_row, and SCIProwIsModifiable().

◆ isRemovable()

def isRemovable (   self)
returns TRUE iff row is removable from the LP (due to aging or cleanup)

Definition at line 491 of file scip.pxi.

References Row.scip_row, and SCIProwIsRemovable().

Member Data Documentation

◆ row

row = Row()
static

Definition at line 439 of file scip.pxi.

◆ scip_row

scip_row
static

Definition at line 440 of file scip.pxi.


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