QConstrArray.QConstrArray()
Constructor of qconstrarray object.
Synopsis
QConstrArray()
QConstrArray.GetQConstr()
Get idx-th quadratic constraint object.
Synopsis
QConstraint GetQConstr(int idx)
Arguments
idx
: index of the quadratic constraint.Return
constraint object with index ‘idx’.
QConstrArray.PushBack()
Add a quadratic constraint object to array.
Synopsis
void PushBack(QConstraint constr)
Arguments
constr
: a quadratic constraint object.
QConstrArray.Size()
Get the number of quadratic constraint objects.
Synopsis
int Size()
Return
number of quadratic constraint objects.