NlConstraint::Get()

Get information value of the constraint. Support informations of “LB”, “UB”, “Slack”.

Synopsis

double Get(const char *szInfo)

Arguments

szInfo: name of the information being queried.

Return

value of information.

NlConstraint::GetIdx()

Get index of nonlinear constraint.

Synopsis

int GetIdx()

Return

the index of nonlinear constraint.

NlConstraint::GetName()

Get name of nonlinear constraint.

Synopsis

const char *GetName()

Return

the name of nonlinear constraint.

NlConstraint::Remove()

Remove this nonlinear constraint from model.

Synopsis

void Remove()

NlConstraint::Set()

Set information value of nonlinear constraint. Support informations of “LB” and “UB”.

Synopsis

void Set(const char *szInfo, double value)

Arguments

szInfo: name of the information.

value: new information value.

NlConstraint::SetName()

Set name for nonlinear constraint.

Synopsis

void SetName(const char *szName)

Arguments

szName: the name to set.