getnlctrnum
getnlctrnum |
Purpose
Get the row number of a nonlinear constraint.
Synopsis
int getnlctrnum(XPRMcontext ctx, XPRMnlpdata nlpdata, XPRMnlctr nlctr);
Arguments
ctx
|
Mosel's execution context
|
nlctr
|
Reference to a nonlinear constraint
|
Return value
>= 0
|
Row number of the nonlinear constraint
|
-1
|
Row number not available
|
Further information
This function returns the row number of a nonlinear constraint. A value of -1 is returned if no problem is available or if the constraint does not belong to the current problem.
Related topics