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