QConstrBuilder::GetQuadExpr()
Get expression associated with quadratic constraint.
Synopsis
const QuadExpr &GetQuadExpr()
Return
quadratic expression object.
QConstrBuilder::GetSense()
Get sense associated with quadratic constraint.
Synopsis
char GetSense()
Return
quadratic constraint sense.
QConstrBuilder::Set()
Set detail of a quadratic constraint to its builder object.
Synopsis
void Set(
const QuadExpr &expr,
char sense,
double rhs)
Arguments
expr
: expression object at one side of the quadratic constraint.
sense
: quadratic constraint sense.
rhs
: constant of right side of quadratic constraint.