Problem-arith function

Arithmetic Operations on Problems

Arithmetic Operations on Problems

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

## 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.

Returns

A Problem object.

  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07