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