NO FRAMES

CPXrhssa

int CPXPUBLIC CPXrhssa(CPXCENVptr env, CPXCLPptr lp, int begin, int end, double * lower, double * upper)
Definition file: cplex.h
Include files: cplex.h

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
Information for constraint j, where beginjend, is returned in position (j-begin) of the arrays lower and upper.

Example

 status = CPXrhssa (env, lp, 0, CPXgetnumrows(env,lp)-1,
                    lower, upper);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

begin

An integer indicating the beginning of the range of ranges to be returned.

end

An integer indicating the end of the range of ranges to be returned.

lower

An array where the right-hand side lower range values are to be returned. This array must be of length at least (end - begin + 1).

upper

An array where the right-hand side upper range values are to be returned. This array must be of length at least (end - begin + 1).

Returns:

The routine returns zero on success and nonzero if an error occurs. This routine fails if no optimal basis exists.