Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

id

Identification Number


Description

A unique identification number used internally to keep track of variables and constraints. Should not be modified by the user.

Usage

id(object)

Arguments

object

A Variable or Constraint object.

Value

A non-negative integer identifier.

See Also

Examples

x <- Variable()
constr <- (x >= 5)
id(x)
id(constr)

CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.