NO FRAMES

CPXgetstatstring

CPXCHARptr CPXPUBLIC CPXgetstatstring(CPXCENVptr env, int statind, char * buffer_str)
Definition file: cplex.h

The routine CPXgetstatstring is used to place in a buffer, a string corresponding to the value of statind as returned by the CPXgetstat function. The buffer to hold the string can be up to 510 characters maximum.

Example

 statind = CPXgetstat (env, lp);
 p = CPXgetstatstring (env, statind, buffer);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

statind

An integer indicating the status value to return.

buffer_str

A pointer to a buffer to hold the string corresponding to the value of statind.

Example

 statind = CPXgetstat (env, lp);
 p = CPXgetstatstring (env, statind, buffer);
 

Returns:

The routine returns a pointer to a buffer if the statind value corresponds to a valid string. Otherwise, it returns NULL.