Previous Page: CPXgetstatFirst PageNext Page: CPXgetsubstat

CPXgetstrparam


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);

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 value is to be obtained.

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

Example

status = CPXgetstrparam (env, CPX_PARAM_NODEFILEDIR, dirname);
Previous Page: CPXgetstatFirst PageNext Page: CPXgetsubstat