hi_solver_set_constraint_bounds {highs} | R Documentation |
Set constraint bounds for a given constraint.
Description
This function sets the lower and upper bounds for a specific constraint.
Usage
hi_solver_set_constraint_bounds(solver, index, lower, upper)
Arguments
solver |
An object of class "highs_solver". |
index |
The constraint index. |
lower |
The lower bound. |
upper |
The upper bound. |
Value
The solver instance with updated constraint bounds.
Examples
solver <- example_solver()
hi_solver_set_constraint_bounds(solver, 1, -Inf, 100)
[Package highs version 1.10.0-2 Index]