PySCIPOpt  5.1.1
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 541 of file scip.pxi.

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

◆ __get__()

def __get__ (   self)

Definition at line 553 of file scip.pxi.

References NLRow.scip_nlrow, and SCIPnlrowGetName().

◆ __hash__()

def __hash__ (   self)

Definition at line 580 of file scip.pxi.

References NLRow.scip_nlrow.

◆ getConstant()

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

Definition at line 557 of file scip.pxi.

References NLRow.scip_nlrow, and SCIPnlrowGetConstant().

◆ getDualsol()

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

Definition at line 576 of file scip.pxi.

References NLRow.scip_nlrow, and SCIPnlrowGetDualsol().

◆ getLhs()

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

Definition at line 568 of file scip.pxi.

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

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

◆ getRhs()

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

Definition at line 572 of file scip.pxi.

References NLRow.scip_nlrow, and SCIPnlrowGetRhs().

Member Data Documentation

◆ nlrow

nlrow = NLRow()
static

Definition at line 548 of file scip.pxi.

◆ scip_nlrow

scip_nlrow
static

Definition at line 549 of file scip.pxi.


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