hi_solver_change_variable_bounds | R Documentation |
This function updates the bounds of an existing variable in the model.
hi_solver_change_variable_bounds(solver, idx, lower, upper)
solver |
An object of class "highs_solver". |
idx |
An integer specifying the variable index. |
lower |
The new lower bound. |
upper |
The new upper bound. |
The solver instance with updated bounds.
solver <- example_solver()
hi_solver_change_variable_bounds(solver, 1, 0, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.