Usage
rLSaddVariables(model,nNumaddvars,pszVarTypes,paszVarNames = NULL, paiAcols,panAcols = NULL,padAcoef,paiArows,padC, padL = NULL,padU = NULL)
Arguments
nNumaddvars
Number of variables to append to the model.
pszVarTypes
A character array containing the types of each variable to be added to the model.
paszVarNames
A string array containing the names of each new variable.
paiAcols
An integer array containing the index of the first nonzero element in each new column.
panAcols
An integer array containing the length of each column.
padAcoef
A double array containing the nonzero coefficients of the new columns.
paiArows
An integer array containing the row indices of the nonzeros in the new columns.
padC
A double array containing the objective coefficients for each new variable.
padL
A double array containing the lower bound of each new variable.
padU
A double array containing the upper bound of each new variable.