Learn R Programming

cplexAPI (version 1.4.0)

checkValsCPLEX: Check an Array of Indices and a Corresponding Array of Values for Input Errors

Description

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

Usage

checkValsCPLEX(env, lp, nval, rind = NULL, cind = NULL, val = 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.

nval

Number of values to be examined.

rind

Row indices.

cind

Column indices.

val

The values itself.

Value

Zero if successful, otherwise nonzero.

Details

Interface to the C function checkVals which calls the CPLEX function CPXcheckvals.

References

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