CPXXgetparamname and CPXgetparamname
The routine CPXXgetparamname/CPXgetparamname returns the legacy
name of a CPLEX parameter, given the symbolic constant (or reference number) for it.
int CPXXgetparamname( CPXCENVptr env, int whichparam, char * name_str )
int CPXgetparamname( CPXCENVptr env, int whichparam, char * name_str )
Description
The routine CPXXgetparamname/CPXgetparamname returns the legacy
name of a CPLEX parameter, given the symbolic constant (or reference number) for it. The hierarchy names (introduced with
CPLEX 12.6.0) are accessible with CPXXgetparamhiername and CPXgetparamhiername.
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
- An integer specifying the symbolic constant (or reference number) of the desired parameter.
- name_str
-
A character array (that is, a pointer to a buffer) of length at least
CPX_STR_PARAM_MAXto hold the legacy name of the selected parameter.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.Example
status = CPXgetparamname (env, CPXPARAM_Advance, param_string);