powered by
This function sets the number of rows in the given model.
hi_model_set_nrow(model, nrow)
NULL
an object of class "highs_model".
"highs_model"
an integer giving the number of rows (variables) to set in the model
model <- hi_new_model() hi_model_set_nrow(model, 5L) # Sets the model to have 5 rows
Run the code above in your browser using DataLab