Low level interface function to the IBM ILOG CPLEX function
CPXnewcols
. Consult the IBM ILOG CPLEX documentation for more
detailed information.
newColsCPLEX(env, lp, ncols,
obj = NULL, lb = NULL, ub = NULL,
xctype = 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 variables to add.
Objective function coefficients.
Lower bounds on the new variables.
Upper bounds on the new variables.
Type of the new variables.
Names of the new variables.
Zero if successful, otherwise nonzero.
Interface to the C function newCols
which calls the CPLEX
function CPXnewcols
.
The IBM ILOG CPLEX home page at https://www.ibm.com/support/knowledgecenter/SSSA5P.
cplexConstants
section “Variable types for ctype array”.