Learn R Programming

CVXR (version 0.99-7)

Objective-arith: Arithmetic Operations on Objectives

Description

Add, subtract, multiply, or divide optimization objectives.

Usage

# S4 method for Minimize,missing
-(e1, e2)

# S4 method for Minimize,Minimize +(e1, e2)

# S4 method for Minimize,Maximize +(e1, e2)

# S4 method for Minimize,numeric +(e1, e2)

# S4 method for numeric,Minimize +(e1, e2)

# S4 method for Minimize,Minimize -(e1, e2)

# S4 method for Minimize,Maximize -(e1, e2)

# S4 method for Minimize,numeric -(e1, e2)

# S4 method for numeric,Minimize -(e1, e2)

# S4 method for Minimize,numeric *(e1, e2)

# S4 method for Maximize,numeric *(e1, e2)

# S4 method for numeric,Minimize *(e1, e2)

# S4 method for Minimize,numeric /(e1, e2)

# S4 method for Maximize,missing -(e1, e2)

# S4 method for Maximize,Maximize +(e1, e2)

# S4 method for Maximize,Minimize +(e1, e2)

Arguments

e1

The left-hand '>Minimize, '>Maximize, or numeric value.

e2

The right-hand '>Minimize, '>Maximize, or numeric value.

Value

A '>Minimize or '>Maximize object.