Description
This routine is used to obtain the current value of a CPLEX string parameter.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXgetstrparam (CPXENVptr env,
int whichparam,
char *value);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
int whichparamThe symbolic constant (or reference number) of the parameter for which the value is to be obtained.
char *valueA pointer to a buffer of length at least
CPX_STR_PARAM_MAX that will hold the current value of the CPLEX parameter.
status = CPXgetstrparam (env, CPX_PARAM_NODEFILEDIR, dirname);