hi_solver_set_integrality | R Documentation |
This function defines whether a variable is categorized as integral or continuous.
hi_solver_set_integrality(solver, index, type)
solver |
An object of class "highs_solver". |
index |
An integer vector specifying the variable index. |
type |
An integer vector representing the integrality type. |
The solver instance with updated integrality settings.
solver <- example_solver()
hi_solver_set_integrality(solver, 1, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.