CPXdelchannel


Description

The routine CPXdelchannel() flushes all message destinations for a channel, clears the message destination list, and frees the memory allocated to the channel. Upon completion, the pointer to the channel is set to NULL.

Return Value

This routine does not have a return value.

Synopsis

  void CPXdelchannel (CPXENVptr env,
                      CPXCHANNELptr *channel_p);

Arguments

CPXENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXCHANNELptr *channel_p

A pointer to the pointer to the channel containing the message destinations to be flushed, cleared, and destroyed.

Example

  CPXdelchannel (env, &mychannel);

See Also

Example lpex5.c in the CPLEX User's Manual.

Previous Page: CPXcreateprob Return to Top Next Page: CPXdelcols