The routine CPXgetchannels()
obtains pointers to the four default channels created when CPXopenCPLEX()
is called. To manipulate the messages for any of these channels, this routine must be called.
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXgetchannels (CPXCENVptr env, CPXCHANNELptr *cpxresults_p, CPXCHANNELptr *cpxwarning_p, CPXCHANNELptr *cpxerror_p, CPXCHANNELptr *cpxlog_p); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
status = CPXgetchannels (env, &cpxresults, &cpxwarning, &cpxerror, &cpxlog); |