| max_elemwise | R Documentation | 
The elementwise maximum.
max_elemwise(arg1, arg2, ...)
| arg1 | An Expression, vector, or matrix. | 
| arg2 | An Expression, vector, or matrix. | 
| ... | Additional Expression objects, vectors, or matrices. | 
An Expression representing the elementwise maximum of the inputs.
c <- matrix(c(1,-1))
prob <- Problem(Minimize(max_elemwise(t(c), 2, 2 + t(c))[2]))
result <- solve(prob)
result$value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.