Description Usage Arguments Examples
Create variable (vector, matrix, semidefinite matrix and etc.) for optimization problem.
1 2 3 |
size |
variable size. |
sign |
whether variable is element-wise positive, element-wise negative or neither. |
1 2 3 4 5 6 7 | ## Not run:
convex_setup()
x <- Variable(4)
X <- Variable(c(4, 4), sign = "Positive")
S <- Semidefinite(4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.