Learn R Programming

cplexAPI (version 1.4.0)

chgCoefListCPLEX: Change a List of Matrix Coefficients of a CPLEX Problem Object

Description

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

Usage

chgCoefListCPLEX(env, lp, nnz, ia, ja, ra)

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.

nnz

Number of nonzero constraint coefficients.

ia

Row indices of the nonzero elements.

ja

Column indices of the nonzero elements.

ra

Nonzero elements.

Value

Zero if successful, otherwise nonzero.

Details

Interface to the C function chgcoeflist which calls the CPLEX function CPXchgcoeflist.

References

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