Problem-arith {CVXR}R Documentation

Arithmetic Operations on Problems

Description

Add, subtract, multiply, or divide DCP optimization problems.

Usage

## S4 method for signature 'Problem,missing'
e1 + e2

## S4 method for signature 'Problem,missing'
e1 - e2

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

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

## S4 method for signature 'Problem,Problem'
e1 + e2

## S4 method for signature 'Problem,numeric'
e1 - e2

## S4 method for signature 'numeric,Problem'
e1 - e2

## S4 method for signature 'Problem,Problem'
e1 - e2

## S4 method for signature 'Problem,numeric'
e1 * e2

## S4 method for signature 'numeric,Problem'
e1 * e2

## S4 method for signature 'Problem,numeric'
e1 / e2

Arguments

e1

The left-hand Problem object.

e2

The right-hand Problem object.

Value

A Problem object.


[Package CVXR version 1.0-14 Index]