Initializing help system before first use

XPRS_bo_getrows

XPRS_bo_getrows


Purpose
Returns the constraints for a branch of a user branching object.
Synopsis
int XPRS_CC XPRS_bo_getrows(XPRSbranchobject obranch, int ibranch, int* p_nrows, int nrows_size, int* p_nelems, int nelems_size, char crtype[], double drrhs[], int mrbeg[], int mcol[], double dval[]);
Arguments
obranch 
The user branching object to inspect.
ibranch 
The number of the branch to get the constraints from.
p_nrows 
Memory location where the number of rows should be returned.
nrows_size 
Maximum number of rows to return.
p_nelems 
Memory location where the number of non zero coefficients in the constraints should be returned.
nelems_size 
Maximum number of non zero coefficients to return.
crtype 
Character array of length nrows_size where the types of the rows will be returned:
Less than type.
Greater than type.
Equality type.
drrhs 
Double array of length nrows_size where the right hand side values will be returned.
mrbeg 
Integer array of length nrows_size which will be filled with the offsets of the mcol and dval arrays of the start of the non zero coefficients in the returned constraints.
mcol 
Integer array of length nelems_size which will be filled with the column indices for the non zero coefficients.
dval 
Double array of length nelems_size which will be filled with the non zero coefficient values.
Related topics