hi_solver_set_constraint_bounds | R Documentation |
This function sets the lower and upper bounds for a specific constraint.
hi_solver_set_constraint_bounds(solver, index, lower, upper)
solver |
An object of class "highs_solver". |
index |
The constraint index. |
lower |
The lower bound. |
upper |
The upper bound. |
The solver instance with updated constraint bounds.
solver <- example_solver()
hi_solver_set_constraint_bounds(solver, 1, -Inf, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.