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

1
2
3
  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.

Details

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

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: Claus Jonathan Fritzemeier <clausjonathan.fritzemeier@uni-duesseldorf.de>

References

The IBM ILOG CPLEX home page at https://www.ibm.com/developerworks/university/academicinitiative/.

See Also

copyLpwNamesCPLEX

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.