LinearVariableCollection-class {ompr}R Documentation

An S4 class that represents a collection of variables

Description

An S4 class that represents a collection of variables

Slots

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.


[Package ompr version 0.8.1 Index]