One row per LP column. Columns are enumerated per variable from the tuples of
the mapping named by variable$domain; a variable with no domain is treated
as a scalar and contributes a single column.
Value
A data.table with columns j (1-based column index), symbol,
name (symbol.i1.i2..., when names = TRUE), i1..iN (index
members, NA beyond a symbol's arity), and bounds lo, up, vtype.
Per-symbol dimension names are kept in the dim_names attribute (a named
list).
Examples
cols <- build_col_index(example_models$toy)
table(cols$symbol)
#>
#> vCap vCost vGen
#> 6 1 6
