NO FRAMES

CPXrhssa

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

The routine CPXrhssa accesses a range of upper and lower ranges for righthand side values. The beginning and end of the range must be specified.

Note
Information for constraint j, where begin <= j <= end, 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 righthand side lower range values are to be returned. This array must be of length at least (end - begin + 1).

upper

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

Returns:

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