Problem-arith: Arithmetic Operations on Problems

Problem-arithR 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.


CVXR documentation built on Oct. 31, 2022, 1:07 a.m.