powered by
Specifies that the objective expression should be minimized. The expression must be convex and scalar for a DCP-compliant problem.
Minimize(expr)
A Minimize object.
Minimize
A CVXR expression or numeric value to minimize.
Maximize, Problem
Maximize
Problem
x <- Variable() obj <- Minimize(x^2 + 1)
Run the code above in your browser using DataLab