Learn R Programming

CVXR (version 0.99-7)

Minimize-class: The Minimize class.

Description

This class represents an optimization objective for minimization.

Usage

Minimize(expr)

# S4 method for Minimize canonicalize(object)

# S4 method for Minimize variables(object)

# S4 method for Minimize parameters(object)

# S4 method for Minimize constants(object)

# S4 method for Minimize is_dcp(object)

# S4 method for Minimize value(object)

Arguments

expr

A scalar '>Expression to minimize.

object

A '>Minimize object.

Methods (by generic)

  • canonicalize: Pass on the target expression's objective and constraints.

  • variables: List of '>Variable objects in the objective.

  • parameters: List of '>Parameter objects in the objective.

  • constants: List of '>Constant objects in the objective.

  • is_dcp: A logical value indicating whether the objective is convex.

  • value: The value of the objective expression.

Slots

expr

A scalar '>Expression to minimize.