View source: R/111_atoms_one_minus_pos.R
| one_minus_pos | R Documentation |
Log-log concave atom for DGP. Solve with
psolve(problem, gp = TRUE).
one_minus_pos(x)
x |
An Expression (elementwise in (0, 1)) |
A OneMInusPos atom
x <- Variable(pos = TRUE)
prob <- Problem(Maximize(one_minus_pos(x)), list(x >= 0.1, x <= 0.5))
## Not run: psolve(prob, gp = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.