Description Usage Arguments Details Value
Build the constraint data frame for a linear program from a filter vector.
1 | gen_filter_constraint(x, label = "", consId = NULL)
|
x |
A numeric vector with its length equal to the number of decision variables. Each entry is either a numeric value or NA. |
If x[i] is a numeric value then the i-th decision variable is fixed to be this value; if x[i] is NA then no requirement is placed on the corresponding decision variable.
A constraint data frame for the linear program
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.