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

Plus

Description

Adds the variables in the rhs to the variables in the lhs and returns another 'LinearVariableSum'.

Usage

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

Arguments

e1

an object of type 'LinearVariableSum'

e2

an object of type 'LinearVariableCollection'

Value

Returns an object of type 'LinearVariableSum'


[Package ompr version 0.8.1 Index]