hi_solver_set_variable_bounds {highs} | R Documentation |
Set variable bounds for a set of variables.
Description
This function sets the lower and upper bounds for a set of variables.
Usage
hi_solver_set_variable_bounds(solver, index, lower, upper)
Arguments
solver |
An object of class "highs_solver". |
index |
The variable index. |
lower |
The lower bound. |
upper |
The upper bound. |
Value
The solver instance with updated variable bounds.
Examples
solver <- example_solver()
hi_solver_set_variable_bounds(solver, 2, 0, 10)
[Package highs version 1.10.0-2 Index]