Learn R Programming

cplexAPI (version 1.4.0)

chgProbTypeCPLEX: Change the Current Problem to a Related Problem

Description

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

Usage

chgProbTypeCPLEX(env, lp, ptype)

Arguments

env

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

lp

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

ptype

A single integer value specifying the problem type.

Value

Zero if successful, otherwise nonzero.

Details

Interface to the C function chgProbType which calls the CPLEX function CPXchgprobtype.

References

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

See Also

getProbTypeCPLEX, cplexConstants section “Problem Types”.