Learn R Programming

cplexAPI (version 1.4.0)

getChannelsCPLEX: Obtain Pointers to the Four Default Channels

Description

Low level interface function to the IBM ILOG CPLEX function CPXgetchannels. Consult the IBM ILOG CPLEX documentation for more detailed information.

Usage

getChannelsCPLEX(env, ptrtype = "cplex_chan")

Arguments

env

An object of class "'>cplexPtr" as returned by openEnvCPLEX. This is basically a pointer to an IBM ILOG CPLEX environment.

ptrtype

A name for the pointer object.

Value

If successful a list is returned:

cpxresults

address of the channel corresponding to cpxresults

cpxwarning

address of the channel corresponding to cpxwarning

cpxerror

address of the channel corresponding to cpxerror

cpxlog

address of the channel corresponding to cpxlog

otherwise an instance of class "'>cplexError". Each list element is an object of class "'>cplexPtr".

Details

Interface to the C function getChannels which calls the CPLEX function CPXgetchannels.

References

The IBM ILOG CPLEX home page at https://www.ibm.com/support/knowledgecenter/SSSA5P.

See Also

disconnectChannelCPLEX, flushChannelCPLEX, flushStdChannelsCPLEX