hi_solver_get_num_row {highs} | R Documentation |
Get Number of Constraints
Description
This function returns the number of constraints (rows) in the optimization model.
Usage
hi_solver_get_num_row(solver)
Arguments
solver |
An object of class "highs_solver". |
Value
An integer representing the number of constraints.
Examples
solver <- example_solver()
n_constraints <- hi_solver_get_num_row(solver)
[Package highs version 1.10.0-2 Index]