XPRSgetrowtype
XPRSgetrowtype |
Purpose
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:
|
||||||||||
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