XPRSgetrowtype


Purpose
Returns the row types for the rows in a given range.
Synopsis
int XPRS_CC XPRSgetrowtype(XPRSprob prob, char qrtype[], int first, int last);
Arguments
prob 
The current problem.
qrtype 
Character array of length last-first+1 characters where the row types will be returned:
indicates a free constraint;
indicates a Maths/leq.png constraint;
indicates an = constraint;
indicates a Maths/geq.png constraint;
indicates a range constraint.
first 
First row in the range.
last 
Last row in the range.
Example
The following example retrieves row types into an array qrtype :
int rows;
char *qrtype;
...
XPRSgetintattrib(prob,XPRS_ROWS,&rows);
qrtype = (char *) malloc(sizeof(char)*rows);
XPRSgetrowtype(prob,qrtype,0,rows-1);
Related topics
XPRSchgrowtype, XPRSgetrowrange, XPRSgetrows.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.