Validate Arguments of the Corresponding copyLpCPLEX Routine

Share:

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: 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

copyLpCPLEX

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