Set elements on the right-hand-side of an lpSolve linear program model object.
Usage
set.rhs(lprec, b, constraints = 1:m)
Value
a NULL value is invisibly returned.
Arguments
lprec
an lpSolve linear program model object.
b
a numeric vector of length m (where m is the number of constraints in lprec)
constraints
a numeric vector containing unique elements from the set {1, ..., m} (where m is the number of constraints in lprec) identifying the constraints for which to set the right-hand-side value.