powered by
This function sets the upper bounds for a given Highs model.
hi_model_set_upper(model, upper)
NULL
an object of class "highs_model".
"highs_model"
a numeric vector giving the upper bounds.
model <- hi_new_model() upper_bounds <- c(10, 20, 30) hi_model_set_upper(model, upper_bounds)
Run the code above in your browser using DataLab