powered by
This function sets the lower and upper bounds for a specific constraint.
hi_solver_set_constraint_bounds(solver, index, lower, upper)
The solver instance with updated constraint bounds.
An object of class "highs_solver".
The constraint index.
The lower bound.
The upper bound.
solver <- example_solver() hi_solver_set_constraint_bounds(solver, 1, -Inf, 100)
Run the code above in your browser using DataLab