checkCopyLpCPLEX: Validate Arguments of the Corresponding 'copyLpCPLEX' Routine

Description Usage Arguments Details Value Author(s) References See Also

View source: R/cplex_checkAPI.R

Description

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

Usage

1
2
  checkCopyLpCPLEX(env, lp, nCols, nRows, lpdir, objf, rhs, sense,
                   matbeg, matcnt, matind, matval, lb, ub, rngval = 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.

Details

Interface to the C function checkCopyLp which calls the CPLEX function CPXcheckcopylp.

Value

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

Author(s)

Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>

Maintainer: Mayo Roettger <mayo.roettger@hhu.de>

References

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

See Also

copyLpCPLEX


cplexAPI documentation built on Oct. 23, 2020, 5:45 p.m.