CPXXflushchannel and CPXflushchannel

The routine CPXXflushchannel/CPXflushchannel flushes (outputs and clears the buffers of) all message destinations for a channel.

int  CPXXflushchannel( CPXCENVptr env, CPXCHANNELptr channel )

int  CPXflushchannel( CPXCENVptr env, CPXCHANNELptr channel )

Description

The routine CPXXflushchannel/CPXflushchannel flushes (outputs and clears the buffers of) all message destinations for a channel. Use this routine in cases when it is important to have output written to disk immediately after it is generated. For most applications this routine need not be used.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.
channel
A pointer to the channel containing the message destinations to be flushed.

Return

The routine returns 0 (zero) if successful or an error code otherwise.

Example


CPXflushchannel (env, mychannel);