Purpose
Used to change the
range for a row of the problem
matrix.
Synopsis
int XPRS_CC XPRSchgrhsrange(XPRSprob prob, int nels, const int mindex[], const double rng[]);
Arguments
prob
|
The current problem.
|
nels
|
Number of range elements to change.
|
mindex
|
Integer array of length nels containing the indices of the rows on which the range elements will change.
|
rng
|
Double array of length nels giving the range values.
|
Example
Here, the constraint x + y

10 in the problem is changed to 8

x + y

10:
mindex[0] = 5; rng[0] = 2.0;
XPRSchgrhsrange(prob,1,mindex,rng);
Further information
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.