Low level interface function to the IBM ILOG CPLEX function
CPXaddcols
. Consult the IBM ILOG CPLEX documentation for more
detailed information.
addColsCPLEX(env, lp, ncols, nnz, objf, matbeg, matind, matval,
lb = NULL, ub = NULL, cnames = 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 columns.
Number of nonzero constraint coefficients.
Objective function coefficients.
Array that specifies the nonzero elements of the columns being added. Consult the IBM ILOG CPLEX documentation for more detailed information.
Array that specifies the nonzero elements of the columns being added. Consult the IBM ILOG CPLEX documentation for more detailed information.
Array that specifies the nonzero elements of the columns being added. Consult the IBM ILOG CPLEX documentation for more detailed information.
Lower bounds of the new variables.
Upper bounds of the new variables.
Names of the new variables.
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.