hi_solver_get_num_row | R Documentation |
This function returns the number of constraints (rows) in the optimization model.
hi_solver_get_num_row(solver)
solver |
An object of class "highs_solver". |
An integer representing the number of constraints.
solver <- example_solver()
n_constraints <- hi_solver_get_num_row(solver)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.