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 June 27, 2024, 5:11 p.m.