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 | |
Constraints with a polynomial expressions and lower/upper bounds.
| def __nonzero__ | ( | self | ) |
| def __repr__ | ( | self | ) |
Definition at line 342 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.
| def __richcmp__ | ( | self, | |
| other, | |||
| op | |||
| ) |
turn it into a constraint
Definition at line 317 of file expr.pxi.
References ExprCons._lhs, ExprCons._rhs, BRANCHCAND.expr, SCIP_NlRow.expr, SCIP_NlpiOracleCons.expr, exprnode.expr, SCIP_QuadExpr_QuadTerm.expr, BilinBound.expr, and ExprCons.expr.
| 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.