QConstrArray::GetQConstr()

Get i-th quadratic constraint object.

Synopsis

QConstraint &GetQConstr(int idx)

Arguments

idx: index of the quadratic constraint.

Return

quadratic constraint object with index i.

QConstrArray::PushBack()

Add a quadratic constraint object to constraint array.

Synopsis

void PushBack(const QConstraint &constr)

Arguments

constr: a quadratic constraint object.

QConstrArray::Reserve()

Reserve capacity to contain at least n items.

Synopsis

void Reserve(int n)

Arguments

n: minimum capacity for quadratic constraint objects.

QConstrArray::Size()

Get the number of quadratic constraint objects.

Synopsis

int Size()

Return

number of quadratic constraint objects.