Set column bounds and objective coefficients
Source:R/LPproblemClass.R
, R/LPproblem_glpkClass.R
setColsBndsObjCoefs-methods.Rd
Set column bounds and objective coefficients of an LPproblem.
Usage
setColsBndsObjCoefs(lp, ...)
# S4 method for class 'LPproblem_glpk'
setColsBndsObjCoefs(lp, j, lb, ub, obj_coef, type = NULL)
Arguments
- lp
Object of class LPproblem
- ...
Additional parameters passed on to the specific method instance.
- j
Indices of variables to be updated
- lb
New lower bound of variable
- ub
New upper bound of variable
- obj_coef
New object coefficient of variable
- type
New type of column/variable