Learn R Programming

cplexAPI (version 1.4.0)

initProbCPLEX: Create a CPLEX Problem Object in the CPLEX Environment

Description

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

Usage

initProbCPLEX(env, pname = "CPLEX_PROB", ptrtype = "cplex_prob")

Arguments

env

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

pname

A single character string containing the name of the problem object.

ptrtype

A name for the pointer object.

Value

If successful, a pointer to the CPLEX problem object is returnd (an instance of class "'>cplexPtr"), otherwise an instance of class "'>cplexError".

Details

Interface to the C function CPXcreate which calls the CPLEX function CPXcreateprob.

References

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

See Also

delProbCPLEX