Initializing help system before first use

XPRMgetctrnum

XPRMgetctrnum


Purpose
Get the row number of a linear constraint.
Synopsis
int XPRMgetctrnum(XPRMmodel model, XPRMlinctr ctr);
Arguments
model 
Reference to a model
ctr 
Reference to a linear constraint
Return value
The row number ( ≥ 0) of the linear constraint, or a negative value.
Further information
This function returns the row number of a linear constraint. A negative value is returned if no problem is available or if the constraint does not belong to the active problem.
Related topics