
A unique identification number used internally to keep track of variables and constraints. Should not be modified by the user.
id(object)
A non-negative integer identifier.
A Variable or Constraint object.
get_id
setIdCounter
x <- Variable()
constr <- (x >= 5)
id(x)
id(constr)
Run the code above in your browser using DataLab