#' A class representing a constraint
new_constraint <- function(lhs,
stopifnot(sense %in% c("<=", "==", ">="))
structure(list(lhs = lhs,
sense = sense,
rhs = rhs),
class = "model_constraint")
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.