| hi_model_set_vartype | R Documentation | 
This function sets the variable types in a given Highs model.
hi_model_set_vartype(model, types)
| model | an object of class  | 
| types | an integer vector specifying the types of the variables. | 
The function does not return a value. It modifies the 'model' object in place.
model <- hi_new_model()
types <- c(1, 2, 1, 0)
hi_model_set_vartype(model, types)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.