Objective-arith {CVXR} | R Documentation |
Arithmetic Operations on Objectives
Description
Add, subtract, multiply, or divide optimization objectives.
Usage
## S4 method for signature 'Objective,numeric'
e1 + e2
## S4 method for signature 'numeric,Objective'
e1 + e2
## S4 method for signature 'Minimize,missing'
e1 - e2
## S4 method for signature 'Minimize,Minimize'
e1 + e2
## S4 method for signature 'Minimize,Maximize'
e1 + e2
## S4 method for signature 'Objective,Minimize'
e1 - e2
## S4 method for signature 'Objective,Maximize'
e1 - e2
## S4 method for signature 'Minimize,Objective'
e1 - e2
## S4 method for signature 'Maximize,Objective'
e1 - e2
## S4 method for signature 'Objective,numeric'
e1 - e2
## S4 method for signature 'numeric,Objective'
e1 - e2
## S4 method for signature 'Minimize,numeric'
e1 * e2
## S4 method for signature 'Maximize,numeric'
e1 * e2
## S4 method for signature 'numeric,Minimize'
e1 * e2
## S4 method for signature 'numeric,Maximize'
e1 * e2
## S4 method for signature 'Objective,numeric'
e1 / e2
## S4 method for signature 'Maximize,missing'
e1 - e2
## S4 method for signature 'Maximize,Maximize'
e1 + e2
## S4 method for signature 'Maximize,Minimize'
e1 + e2
Arguments
e1 |
|
e2 |
Value
A Minimize or Maximize object.
[Package CVXR version 1.0-14 Index]