hi_model_set_constraint_matrix | R Documentation |
This function sets the constraint matrix for a given Highs model.
hi_model_set_constraint_matrix(model, matrix)
model |
an object of class |
matrix |
a matrix giving the Hessian matrix.
Allowed matrix classes are |
NULL
model <- hi_new_model()
matrix <- matrix(c(1, 0, 0, 1), nrow = 2)
hi_model_set_constraint_matrix(model, matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.