hi_solver_change_constraint_bounds | R Documentation |
This function updates the bounds of an existing constraint in the model.
hi_solver_change_constraint_bounds(solver, idx, lhs, rhs)
solver |
An object of class "highs_solver". |
idx |
An integer vector specifying the constraint indices. |
lhs |
The new left-hand side bound. |
rhs |
The new right-hand side bound. |
The solver instance with updated constraint bounds.
solver <- example_solver()
hi_solver_change_constraint_bounds(solver, 1, -Inf, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.