NO FRAMES

CPXgetintparam

int CPXPUBLIC CPXgetintparam(CPXCENVptr env, int whichparam, int * value_p)
Definition file: cplex.h
Include files: cplex.h

The routine CPXgetintparam is used to obtain the current value of a CPLEX parameter of type int.

The reference manual ILOG CPLEX Parameter provides a list of parameters with their types, options, and default values.

Example

 status = CPXgetintparam (env, CPX_PARAM_PREIND, &curpreind);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

whichparam

The symbolic constant (or reference number) of the parameter for which the value is to be obtained.

value_p

A pointer to an integer variable to hold the current value of the CPLEX parameter.

Returns:

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