Skip to contents

Make inequality constraint functions, used as inputs for the optimization. So far only offers possibility for 7 tag_outcomes; but shall expand.

Usage

f_make_constraint_function(constraint_values, tag_outcomes)

Arguments

constraint_values

A list of constraint values organized by tag_outcome. Output from values_by_tag_outcome()

tag_outcomes

A vector of tag_outcome of interest

Value

A function to be used in the optimization