PySCIPOpt  4.3.0
Python Interface for the SCIP Optimization Suite
NLRow Class Reference

Public Member Functions

def __eq__ (self, other)
 
def __get__ (self)
 
def __hash__ (self)
 
def getConstant (self)
 
def getDualsol (self)
 
def getLhs (self)
 
def getLinearTerms (self)
 
def getRhs (self)
 

Static Public Attributes

 nlrow = NLRow()
 
 scip_nlrow
 

Detailed Description

Base class holding a pointer to corresponding SCIP_NLROW

Definition at line 487 of file scip.pyx.

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

◆ __get__()

def __get__ (   self)

Definition at line 499 of file scip.pyx.

References NLRow.scip_nlrow, and SCIPnlrowGetName().

◆ __hash__()

def __hash__ (   self)

Definition at line 526 of file scip.pyx.

References NLRow.scip_nlrow.

◆ getConstant()

def getConstant (   self)
returns the constant of a nonlinear row

Definition at line 503 of file scip.pyx.

References NLRow.scip_nlrow, and SCIPnlrowGetConstant().

◆ getDualsol()

def getDualsol (   self)
gets the dual NLP solution of a nonlinear row

Definition at line 522 of file scip.pyx.

References NLRow.scip_nlrow, and SCIPnlrowGetDualsol().

◆ getLhs()

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

Definition at line 514 of file scip.pyx.

References NLRow.scip_nlrow, and SCIPnlrowGetLhs().

◆ getLinearTerms()

def getLinearTerms (   self)
returns a list of tuples (var, coef) representing the linear part of a nonlinear row

Definition at line 507 of file scip.pyx.

References NLRow.scip_nlrow, SCIPnlrowGetLinearCoefs(), SCIPnlrowGetLinearVars(), and SCIPnlrowGetNLinearVars().

◆ getRhs()

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

Definition at line 518 of file scip.pyx.

References NLRow.scip_nlrow, and SCIPnlrowGetRhs().

Member Data Documentation

◆ nlrow

nlrow = NLRow()
static

Definition at line 494 of file scip.pyx.

◆ scip_nlrow

scip_nlrow
static

Definition at line 495 of file scip.pyx.


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