NO FRAMES

CPXgetintparam

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

The routine CPXgetintparam obtains 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 if successful and nonzero if an error occurs.