Learn R Programming

cplexAPI (version 1.4.0)

checkCopyLpwNamesCPLEX: Validate Arguments of the Corresponding copyLpwNamesCPLEX Routine

Description

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

Usage

checkCopyLpwNamesCPLEX(env, lp, nCols, nRows, lpdir, objf, rhs, sense,
                         matbeg, matcnt, matind, matval, lb, ub,
                         rngval = NULL, cnames = NULL, rnames = 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.

nCols

Number of columns in the constraint matrix.

nRows

Number of rows in the constraint matrix.

lpdir

Single integer value that specifies whether the problem is a minimization or maximization problem.

objf

The objective function coefficients.

rhs

The righthand side values for each constraint in the constraint matrix.

sense

The sense of each constraint in the constraint matrix.

matbeg

Array that defines the constraint matrix. Consult the IBM ILOG CPLEX documentation for more detailed information.

matcnt

Array that defines the constraint matrix. Consult the IBM ILOG CPLEX documentation for more detailed information.

matind

Array that defines the constraint matrix. Consult the IBM ILOG CPLEX documentation for more detailed information.

matval

Array that defines the constraint matrix. Consult the IBM ILOG CPLEX documentation for more detailed information.

lb

Containing the lower bound on each of the variables.

ub

Containing the lower bound on each of the variables.

rngval

Containing the range value of each ranged constraint.

cnames

Names of the matrix columns or, equivalently, the variable names.

rnames

Names of the matrix rows or, equivalently, the constraint names.

Value

Nonzero if it detects an error in the data; it returns zero if it does not detect any data errors.

Details

Interface to the C function checkCopyLpwNames which calls the CPLEX function CPXcheckcopylpwnames.

References

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

See Also

copyLpwNamesCPLEX