Low level interface function to the IBM ILOG CPLEX function
CPXchgcoef
. Consult the IBM ILOG CPLEX documentation for more
detailed information.
chgCoefCPLEX(env, lp, i, j, val)
An object of class "'>cplexPtr"
as returned by
openEnvCPLEX
. This is basically a pointer to an
IBM ILOG CPLEX environment.
An object of class "'>cplexPtr"
as returned by
initProbCPLEX
. This is basically a pointer to an
IBM ILOG CPLEX problem object.
An integer that specifies the numeric index of the row in which the
coefficient is located. The linear objective row is referenced
with i = -1
.
An integer that specifies the numeric index of the column in which the
coefficient is located. The RHS column is referenced with j = -1
.
The range value column is referenced with j = -2
. If j = -2
is specified and row i
is not a ranged row, an error status is
returned.
The new value for the coefficient being changed.
Zero if successful, otherwise nonzero.
Interface to the C function chgCoef
which calls the CPLEX
function CPXchgcoef
.
The IBM ILOG CPLEX home page at https://www.ibm.com/support/knowledgecenter/SSSA5P.
getNumRowsCPLEX
, getNumColsCPLEX
,
chgObjCPLEX
, chgRhsCPLEX
,
chgRngValCPLEX