NO FRAMES

CPXgetrngval

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

The routine CPXgetrngval is used to access the RHS range coefficients for a set of constraints in a CPLEX problem object. The beginning and end of the set must be specified. CPXgetrngval checks if ranged constraints are present in the problem object.

Example

 status = CPXgetrngval (env, lp, rngval, 0, cur_numrows-1);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

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

rngval

An array where RHS range coefficients are returned. This array must be of length at least (end - begin+ 1). A value of 0 for any entry means that the corresponding row is not ranged.

begin

An integer indicating the beginning of the set of rows for which RHS range coefficients are returned.

end

An integer indicating the end of the set of rows for which RHS range coefficients are returned.

Returns:

The routine returns zero on success and nonzero if an error occurs.