Skip to contents

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

Usage

Minimize(expr)

Arguments

expr

A CVXR expression or numeric value to minimize.

Value

A Minimize object.

See also

Examples

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