QConstraint.Get()

Get information value of the quadratic constraint.

Synopsis

double Get(string info)

Arguments

info: name of the information being queried.

Return

information value.

QConstraint.GetIdx()

Get index of the quadratic constraint.

Synopsis

int GetIdx()

Return

the index of the quadratic constraint.

QConstraint.GetName()

Get name of the quadratic constraint.

Synopsis

string GetName()

Return

the name of the quadratic constraint.

QConstraint.GetRhs()

Get rhs of quadratic constraint.

Synopsis

double GetRhs()

Return

rhs of quadratic constraint.

QConstraint.GetSense()

Get rhs of quadratic constraint.

Synopsis

char GetSense()

Return

rhs of quadratic constraint.

QConstraint.Remove()

Remove this constraint from model.

Synopsis

void Remove()

QConstraint.Set()

Set information value of the quadratic constraint.

Synopsis

void Set(string attr, double val)

Arguments

attr: name of the information.

val: new information value.

QConstraint.SetName()

Set name of quadratic constraint.

Synopsis

void SetName(string name)

Arguments

name: the name to set.

QConstraint.SetRhs()

Set rhs of quadratic constraint.

Synopsis

void SetRhs(double rhs)

Arguments

rhs: rhs of quadratic constraint.

QConstraint.SetSense()

Set sense of quadratic constraint.

Synopsis

void SetSense(char sense)

Arguments

sense: sense of quadratic constraint.