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.
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
doubleto hold the default value of the CPLEX parameter. May be NULL. - minvalue_p
-
A pointer to a variable of type
doubleto hold the minimum value of the CPLEX parameter. May be NULL. - maxvalue_p
-
A pointer to a variable of type
doubleto 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);