Add columns to an optimization problem.
# S4 method for optObj_clpAPI,numeric
addCols(lp, ncols)# S4 method for optObj_cplexAPI,numeric
addCols(lp, ncols)
# S4 method for optObj_glpkAPI,numeric
addCols(lp, ncols)
# S4 method for optObj_lpSolveAPI,numeric
addCols(lp, ncols)
Number of columns (variables) to add to the problem object.
signature(lp = "optObj_clpAPI", ncols = "numeric")
method to use with package optObj_clpAPI.
signature(lp = "optObj_cplexAPI", ncols = "numeric")
method to use with package optObj_cplexAPI.
signature(lp = "optObj_glpkAPI", ncols = "numeric")
method to use with package optObj_glpkAPI.
signature(lp = "optObj_lpSolveAPI", ncols = "numeric")
method to use with package optObj_lpSolveAPI.
Superclass '>optObj
and constructor function
optObj
.