NlConstraint.Get()
Get information value of the nonlinear constraint. Support informations of “LB”, “UB”, “Slack”.
Synopsis
double Get(string info)
Arguments
info
: 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
string 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(string info, double val)
Arguments
info
: name of the information.
val
: new information value.
NlConstraint.SetName()
Set name for nonlinear constraint.
Synopsis
void SetName(string name)
Arguments
name
: the name to set.