Get objective coefficients of the optimization problem.
# S4 method for optObj_clpAPI,numeric
getObjCoefs(lp, j)# S4 method for optObj_cplexAPI,numeric
getObjCoefs(lp, j)
# S4 method for optObj_glpkAPI,numeric
getObjCoefs(lp, j)
# S4 method for optObj_lpSolveAPI,numeric
getObjCoefs(lp, j)
A numeric vector containing the column (variable) indices.
A numeric vector containing the desired objective coefficients.
signature(lp = "optObj_clpAPI", j = "numeric")
method to use with package optObj_clpAPI.
signature(lp = "optObj_cplexAPI", j = "numeric")
method to use with package optObj_cplexAPI.
signature(lp = "optObj_glpkAPI", j = "numeric")
method to use with package optObj_glpkAPI.
signature(lp = "optObj_lpSolveAPI", j = "numeric")
method to use with package optObj_lpSolveAPI.
Superclass '>optObj
and constructor function
optObj
.