hi_model_get_nvars {highs} | R Documentation |
Get Number of Variables in a Highs Model
Description
This function retrieves the number of variables in a given Highs model.
Usage
hi_model_get_nvars(model)
Arguments
model |
A 'highs_model' object. The model from which to get the number of variables. |
Value
An integer representing the number of variables in the model.
Examples
model <- hi_new_model()
hi_model_get_nvars(model)
[Package highs version 1.10.0-3 Index]