Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


CVXR (version 1.0)

Objective-class: The Objective class.

Description

This class represents an optimization objective.

Usage

Objective(expr)

# S4 method for Objective value(object)

# S4 method for Objective is_quadratic(object)

# S4 method for Objective is_qpwa(object)

Arguments

expr

A scalar '>Expression to optimize.

object

An '>Objective object.

Methods (by generic)

  • value: The value of the objective expression.

  • is_quadratic: Is the objective a quadratic function?

  • is_qpwa: Is the objective a quadratic of piecewise affine function?

Slots

expr

A scalar '>Expression to optimize.