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