Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Objective-class

The Objective class.


Description

This class represents an optimization objective.

Usage

Objective(expr)

## S4 method for signature 'Objective'
value(object)

## S4 method for signature 'Objective'
is_quadratic(object)

## S4 method for signature '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.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.