QConstraint::Get()
Get information value of the quadratic constraint. Support related quadratic informations.
Synopsis
double Get(const char *szInfo)
Arguments
szInfo
: name of the information being queried.Return
value of information.
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
const char *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 sense of quadratic constraint.
Synopsis
char GetSense()
Return
sense of quadratic constraint.
QConstraint::Remove()
Remove this quadratic constraint from model.
Synopsis
void Remove()
QConstraint::Set()
Set information value of the quadratic constraint. Support related quadratic informations.
Synopsis
void Set(const char *szInfo, double value)
Arguments
szInfo
: name of the information.
value
: new information value.
QConstraint::SetName()
Set name of a quadratic constraint.
Synopsis
void SetName(const char *szName)
Arguments
szName
: 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.