Learn R Programming

cplexAPI (version 1.4.0)

tuneParmCPLEX: Tune Parameters of the Environment For Improved Optimizer Performance

Description

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

Usage

tuneParmCPLEX(env, lp,
                nIntP = 0, intP = NULL, intPv = NULL,
                nDblP = 0, dblP = NULL, dblPv = NULL,
                nStrP = 0, strP = NULL, strPv = NULL)

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.

nIntP

Number of integer parameters to be fixed during tuning.

intP

Parameter numbers of the integer parameters which remain fixed.

intPv

Values for the parameters listed in intP.

nDblP

Number of double parameters to be fixed during tuning.

dblP

Parameter numbers of the double parameters which remain fixed.

dblPv

Values for the parameters listed in dblP.

nStrP

Number of string parameters to be fixed during tuning.

strP

Parameter numbers of the string parameters which remain fixed.

strPv

Values for the parameters listed in strP.

Value

Zero if successful, otherwise an instance of class "'>cplexError".

Details

Interface to the C function tuneParam which calls the CPLEX function CPXtuneparam.

References

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