The optimization algorithm requires three inputs per tag_outcome, such as 'energy':
contribution per unit (either standardized or raw) for each food
upper bound for total contribution
lower bound for total contribution
Usage
values_by_tag_outcome(data_unit_contrib, data_constr)
Arguments
- data_unit_contrib
A dataframe where total contribution (raw or standardised) for each tag_outcome
is stored
- data_constr
A dataframe of lower and upper constraint coefficients for each tag_outcome
Value
A list of outputs, organized by tag_outcome