| Maximize | R Documentation |
Specifies that the objective expression should be maximized. The expression must be concave and scalar for a DCP-compliant problem.
Maximize(expr)
expr |
A CVXR expression or numeric value to maximize. |
A Maximize object.
Minimize, Problem
x <- Variable()
obj <- Maximize(-x^2 + 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.