View source: R/109_atoms_prod.R
| prod_entries | R Documentation |
Used in DGP (geometric programming) context. Solve with
psolve(problem, gp = TRUE).
prod_entries(x, axis = NULL, keepdims = FALSE)
x |
An Expression |
axis |
NULL (all), 1 (row-wise), or 2 (column-wise) |
keepdims |
Whether to keep reduced dimensions |
A Prod atom
x <- Variable(3, pos = TRUE)
prob <- Problem(Minimize(prod_entries(x)), list(x >= 2))
## Not run: psolve(prob, gp = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.