+,LinearVariableCollection,numeric-method {ompr}R Documentation

Plus

Description

Adds a constant numeric vector to a variable. The constant needs to be a vector of length 1.

Usage

## S4 method for signature 'LinearVariableCollection,numeric'
e1 + e2

Arguments

e1

an object of type 'LinearVariableCollection'

e2

a numeric vector without NAs


[Package ompr version 0.8.1 Index]