powered by
This function retrieves the number of constraints in a given `highs_model` object.
hi_model_get_ncons(model)
An integer representing the number of constraints in the model.
A `highs_model` object. The model from which to get the number of variables.
model <- hi_new_model() hi_model_get_ncons(model)
Run the code above in your browser using DataLab