Add one or more constraints to the model using quantifiers.

add_constraint(.model, .constraint_expr, ..., .show_progress_bar = TRUE)

.show_progress_bar = TRUE)

## Arguments

.model the model the constraint. Must be a linear (in)equality with operator "<=", "==" or ">=". quantifiers for the indexed variables. For all combinations of bound variables a new constraint is created. In addition you can add filter expressions displays a progressbar when adding multiple constraints Used to work around non-standard evaluation.

## Value

a Model with new constraints added

## Examples

library(magrittr)
MIPModel() %>%