XPRSgetrhsrange


Purpose
Returns the right hand side range values for the rows in a given range.
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
XPRSchgrhs, XPRSchgrhsrange, XPRSgetrhs, XPRSrange.


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