powered by
Returns a human-readable string representation of a CVXR expression, variable, or constraint.
name(x)
A character string.
A CVXR expression, variable, parameter, constant, or constraint.
x <- Variable(2, name = "x") name(x) # "x" name(x + 1) # "x + 1"
Run the code above in your browser using DataLab