Description
The routine CPXrhssa() is used to access a range of upper and lower ranges for right-hand side values. The beginning and end of the range must be specified. Note that information for constraint j, where begin
j ![]()
end, will be returned in position(j-begin) of the arrays lower and upper.Return Value
The routine returns a zero on success, and a nonzero if an error occurs. This routine will fail if no optimal basis exists. Synopsis
int CPXrhssa (CPXENVptr env,
CPXLPptr lp,
int begin,
int end,
double *lower,
double *upper);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
int beginAn integer indicating the beginning of the range of ranges to be returned.
int endAn integer indicating the end of the range of ranges to be returned.
double *lowerAn array where the right-hand side lower range values are to be returned. This array must be of length at least
(end - begin + 1).
double *upperAn array where the right-hand side upper range values are to be returned. This array must be of length at least
(end - begin + 1).
status = CPXrhssa (env, lp, 0, CPXgetnumrows(env,lp)-1,
lower, upper);