QConstrBuilder.QConstrBuilder()
Constructor of qconstrbuilder object.
Synopsis
QConstrBuilder()
QConstrBuilder.GetQuadExpr()
Get quadratic expression associated with constraint.
Synopsis
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(
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.