Low level interface function to the IBM ILOG CPLEX function
CPXaddrows
. Consult the IBM ILOG CPLEX documentation for more
detailed information.
addRowsCPLEX(env, lp, ncols, nrows, nnz, matbeg, matind, matval,
rhs = NULL, sense = NULL,
cnames = NULL, rnames = NULL)
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.
Number of new columns in the constraints being added to the constraint matrix.
Number of rows.
Number of nonzero constraint coefficients.
An array used with rmatind and rmatval to define the rows to be added. Consult the IBM ILOG CPLEX documentation for more detailed information.
An array used with rmatind and rmatval to define the rows to be added. Consult the IBM ILOG CPLEX documentation for more detailed information.
An array used with rmatind and rmatval to define the rows to be added. Consult the IBM ILOG CPLEX documentation for more detailed information.
Righthand side term for each constraint to be added.
Sense of each constraint to be added.
Names of the new columns.
Names of the new rows.
Zero if successful, otherwise nonzero.
Interface to the C function addCols
which calls the CPLEX
function CPXaddcols
.
The IBM ILOG CPLEX home page at https://www.ibm.com/support/knowledgecenter/SSSA5P.
checkAddRowsCPLEX
, addColsCPLEX
,
copyLpCPLEX
, chgRngValCPLEX