CPXXinfodblparam and CPXinfodblparam

The routine CPXXinfodblparam/CPXinfodblparam obtains the default, minimum, and maximum values of a CPLEX parameter of type double.

int  CPXXinfodblparam( CPXCENVptr env, int whichparam, double * defvalue_p, double * minvalue_p, double * maxvalue_p )

int  CPXinfodblparam( CPXCENVptr env, int whichparam, double * defvalue_p, double * minvalue_p, double * maxvalue_p )

Description

The routine CPXXinfodblparam/CPXinfodblparam obtains the default, minimum, and maximum values of a CPLEX parameter of type double.

Note: Values of zero obtained for both the minimum and maximum values of a parameter of type double mean that the parameter has no limit.

The CPLEX Parameters Reference Manual provides a list of parameters with their types, options, and default values.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.
whichparam
The symbolic constant (or reference number) of the parameter value to be obtained.
defvalue_p
A pointer to a variable of type double to hold the default value of the CPLEX parameter. May be NULL.
minvalue_p
A pointer to a variable of type double to hold the minimum value of the CPLEX parameter. May be NULL.
maxvalue_p
A pointer to a variable of type double to hold the maximum value of the CPLEX parameter. May be NULL.

Return

The routine returns 0 (zero) if successful and nonzero if an error occurs.

Example


status = CPXinfodblparam (env, CPXPARAM_TimeLimit, &default_tilim,
		   &min_tilim, &max_tilim);