gen_filter_constraint: Build the constraint data frame for a linear program from a...

Description Usage Arguments Details Value

Description

Build the constraint data frame for a linear program from a filter vector.

Usage

1
gen_filter_constraint(x, label = "", consId = NULL)

Arguments

x

A numeric vector with its length equal to the number of decision variables. Each entry is either a numeric value or NA.

Details

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.

Value

A constraint data frame for the linear program


yuehmeir2/myFormAssembler documentation built on June 9, 2021, 3:42 a.m.