hi_solver_set_coeff | R Documentation |
This function assigns a coefficient value to a specific entry in the constraint matrix.
hi_solver_set_coeff(solver, row, col, val)
solver |
An object of class "highs_solver". |
row |
The row index. |
col |
The column index. |
val |
The coefficient value. |
The solver instance with the updated coefficient.
solver <- example_solver()
hi_solver_set_coeff(solver, 1, 1, 4.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.