id {CVXR} | R Documentation |
A unique identification number used internally to keep track of variables and constraints. Should not be modified by the user.
id(object)
object |
A Variable or Constraint object. |
A non-negative integer identifier.
x <- Variable()
constr <- (x >= 5)
id(x)
id(constr)