XPRSgetrhsrange
XPRSgetrhsrange |
Purpose
Synopsis
int XPRS_CC XPRSgetrhsrange(XPRSprob prob, double range[], int first, int last);
Arguments
prob
|
The current problem.
|
range
|
Double array of length
last-first+1 where the right hand side range values are to be placed.
|
first
|
First row in the range.
|
last
|
Last row in the range.
|
Example
The following returns right hand side range values for all rows in the matrix:
int rows; double *range; ... XPRSgetintattrib(prob,XPRS_ROWS,&rows); range = malloc(rows*sizeof(double)); XPRSgetrhsrange(prob,range,0,rows);
Related topics