Specifies that the objective expression should be maximized. The expression must be concave and scalar for a DCP-compliant problem.
Examples
x <- Variable()
obj <- Maximize(-x^2 + 1)
Specifies that the objective expression should be maximized. The expression must be concave and scalar for a DCP-compliant problem.
x <- Variable()
obj <- Maximize(-x^2 + 1)