LinearVariableCollection-class {ompr} | R Documentation |
An S4 class that represents a collection of variables
variables
a data frame hold the variable coefficients. One line for reach variable, row and column.
index_mapping
a function that takes a variable name as character and returns a mapping table that maps column ids to variable indexes.