hi_solver_set_coeff {highs} | R Documentation |
Set a coefficient in the constraint matrix.
Description
This function assigns a coefficient value to a specific entry in the constraint matrix.
Usage
hi_solver_set_coeff(solver, row, col, val)
Arguments
solver |
An object of class "highs_solver". |
row |
The row index. |
col |
The column index. |
val |
The coefficient value. |
Value
The solver instance with the updated coefficient.
Examples
solver <- example_solver()
hi_solver_set_coeff(solver, 1, 1, 4.2)
[Package highs version 1.10.0-3 Index]