CPXXgetdblparam and CPXgetdblparam
The routine
CPXXgetdblparam/CPXgetdblparam
obtains the current value of a CPLEX parameter of type
double.
int CPXXgetdblparam( CPXCENVptr env, int whichparam, double * value_p )
int CPXgetdblparam( CPXCENVptr env, int whichparam, double * value_p )
Description
The routine CPXXgetdblparam/CPXgetdblparam obtains the current
value of a CPLEX parameter of type double.
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 for which the value is to be obtained.
- value_p
-
A pointer to a variable of type
doubleto hold the current value of the CPLEX parameter.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.Example
status = CPXgetdblparam (env, CPXPARAM_TimeLimit, &curtilim);