make ids

Description

Construct matrices and vectors with their unique ids

Usage

1

Arguments

...

Named lists of integer vectors of length <= 2. Each item represents an optimization variable and its dimension.

Value

Named list of optimization variable ids, which will be used to construct the standard form matrices.

Author(s)

Toby Dylan Hocking

Examples

1
2
vars <- make.ids(xi=5,beta0=1,beta=2)
with(vars, xi >= 0)