hi_solver_add_vars | R Documentation |
This function adds new variables to the solver with specified bounds.
hi_solver_add_vars(solver, lower, upper)
solver |
An object of class "highs_solver". |
lower |
A numeric vector of lower bounds for the new variables. |
upper |
A numeric vector of upper bounds for the new variables. |
The solver instance with the new variables added.
solver <- example_solver()
hi_solver_add_vars(solver, lower = c(0, 0, 0), upper = c(10, 10, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.