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

Public Member Functions

def __init__ (self, expr, lhs=None, rhs=None)
 
def __nonzero__ (self)
 
def __repr__ (self)
 
def __richcmp__ (self, other, op)
 
def normalize (self)
 

Public Attributes

 expr
 

Detailed Description

Constraints with a polynomial expressions and lower/upper bounds.

Definition at line 287 of file expr.pxi.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  expr,
  lhs = None,
  rhs = None 
)

Definition at line 293 of file expr.pxi.

Member Function Documentation

◆ __nonzero__()

def __nonzero__ (   self)
Make sure that equality of expressions is not asserted with ==

Definition at line 345 of file expr.pxi.

◆ __repr__()

◆ __richcmp__()

def __richcmp__ (   self,
  other,
  op 
)

◆ normalize()

def normalize (   self)
move constant terms in expression to bounds

Definition at line 300 of file expr.pxi.

References ExprCons._lhs, ExprCons._rhs, SCIP_NlpiOracleCons.expr, BRANCHCAND.expr, SCIP_QuadExpr_QuadTerm.expr, SCIP_NlRow.expr, BilinBound.expr, exprnode.expr, and ExprCons.expr.

Member Data Documentation

◆ expr

expr

Definition at line 294 of file expr.pxi.


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