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