Previous Page: CPXinfointparamFirst PageNext Page: CPXlpmread

CPXinfostrparam


Description

This routine is used to obtain the default value of a CPLEX string parameter

Return Value

The routine returns a zero on success, and a nonzero if an error occurs.

Synopsis

int CPXinfostrparam (CPXENVptr env,
                     int whichparam,
                     char *defvalue);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

int whichparam
The symbolic constant (or reference number) of the parameter for which the default value is to be obtained.

char *defvalue
A pointer to a buffer of length at least CPX_STR_PARAM_MAX that will hold the default value of the CPLEX parameter.

Example

status = CPXinfostrparam (env, CPX_PARAM_NODEFILEDIR, defdirname);

Previous Page: CPXinfointparamFirst PageNext Page: CPXlpmread