View source: R/130_transforms_indicator.R
| indicator | R Documentation |
Creates an expression that equals 0 if all constraints are satisfied and +Inf otherwise. Use this to embed constraints into the objective.
indicator(constraints, err_tol = 0.001)
constraints |
A list of constraint objects |
err_tol |
Numeric tolerance for checking constraint satisfaction (default 1e-3) |
An Indicator expression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.