Variable lower and upper bounds of a model

variable_bounds(model)

Arguments

model the model

Value

a list with two components 'lower' and 'upper' each having a numeric vector of bounds. One for each variable.

Examples

library(magrittr)
model <- MIPModel() %>%
variable_bounds(model)#> $lower #> [1] 0 2 -Inf #> #>$upper
#>