NO FRAMES

CPXgetstrparam

public int CPXgetstrparam(CPXCENVptr env, int whichparam, char * value_str)
Definition file: cplex.h

The routine CPXgetstrparam obtains the current value of a CPLEX string parameter.

Example

 status = CPXgetstrparam (env, CPX_PARAM_NODEFILEDIR, dirname);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

whichparam

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

value_str

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

Returns:

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