powered by
This function retrieves the constraint matrix of the optimization model.
hi_solver_get_constraint_matrix(solver)
A sparse matrix representing the constraints.
An object of class "highs_solver".
solver <- example_solver() matrix <- hi_solver_get_constraint_matrix(solver)
Run the code above in your browser using DataLab