CPXXinfostrparam and CPXinfostrparam

The routine CPXXinfostrparam/CPXinfostrparam obtains the default value of a CPLEX string parameter.

int  CPXXinfostrparam( CPXCENVptr env, int whichparam, char * defvalue_str )

int  CPXinfostrparam( CPXCENVptr env, int whichparam, char * defvalue_str )

Description

The routine CPXXinfostrparam/CPXinfostrparam obtains the default value of a CPLEX string parameter.

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 default value is to be obtained.
defvalue_str
A pointer to a buffer of length at least CPX_STR_PARAM_MAX to hold the default value of the CPLEX parameter.

Return

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

Example


status = CPXinfostrparam (env, CPXPARAM_WorkDir, defdirname);