Change column (variable) bounds and objective coefficients in the optimization problem.
# S4 method for optObj_clpAPI
changeColsBndsObjCoefs(lp, j, lb, ub, obj_coef)# S4 method for optObj_cplexAPI
changeColsBndsObjCoefs(lp, j, lb, ub, obj_coef)
# S4 method for optObj_glpkAPI
changeColsBndsObjCoefs(lp, j, lb, ub, obj_coef)
# S4 method for optObj_lpSolveAPI
changeColsBndsObjCoefs(lp, j, lb, ub, obj_coef)
A numeric vector containing the column indices of the variables to change.
A numeric vector of the same length as j
containing the lower bounds
of the variables to change.
A numeric vector of the same length as j
containing the upper bounds
of the variables to change.
A numeric vector of the same length as j
containing the objective
coefficients of the variables to change.
signature(lp = "optObj_clpAPI")
method to use with package optObj_clpAPI.
signature(lp = "optObj_cplexAPI")
method to use with package optObj_cplexAPI.
signature(lp = "optObj_glpkAPI")
method to use with package optObj_glpkAPI.
signature(lp = "optObj_lpSolveAPI")
method to use with package optObj_lpSolveAPI.
Superclass '>optObj
and constructor function
optObj
.