+,LinearVariableCollection,numeric-method {ompr} | R Documentation |
Adds a constant numeric vector to a variable. The constant needs to be a vector of length 1.
## S4 method for signature 'LinearVariableCollection,numeric' e1 + e2
e1 |
an object of type 'LinearVariableCollection' |
e2 |
a numeric vector without NAs |