NO FRAMES

CPXinfointparam

int CPXPUBLIC CPXinfointparam(CPXCENVptr env, int whichparam, int * defvalue_p, int * minvalue_p, int * maxvalue_p)
Definition file: cplex.h
Include files: cplex.h

The routine CPXinfointparam is used to obtain the default, minimum, and maximum values of a CPLEX parameter of type int.

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

Example

 status = CPXinfointparam (env, CPX_PARAM_PREIND, &default_preind,
                           &min_preind, &max_preind);

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.

defvalue_p

A pointer to an integer variable to hold the default value of the CPLEX parameter. May be NULL.

minvalue_p

A pointer to an integer variable to hold the minimum value of the CPLEX parameter. May be NULL.

maxvalue_p

A pointer to an integer variable to hold the maximum value of the CPLEX parameter. May be NULL.

Returns:

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