Learn R Programming

CVXR (version 1.9.1)

Minimize: Create a Minimization Objective

Description

Specifies that the objective expression should be minimized. The expression must be convex and scalar for a DCP-compliant problem.

Usage

Minimize(expr)

Value

A Minimize object.

Arguments

expr

A CVXR expression or numeric value to minimize.

See Also

Maximize, Problem

Examples

Run this code
x <- Variable()
obj <- Minimize(x^2 + 1)

Run the code above in your browser using DataLab