variable_bounds | R Documentation |
Variable lower and upper bounds of a model
variable_bounds(model)
model |
the model |
a list with two components 'lower' and 'upper' each having a numeric vector of bounds. One for each variable.
library(magrittr)
model <- MIPModel() %>%
add_variable(x, type = "binary") %>%
add_variable(y, type = "continuous", lb = 2) %>%
add_variable(z, type = "integer", ub = 3)
variable_bounds(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.