hi_model_set_hessian {highs} | R Documentation |
Set Hessian Matrix for Highs Model
Description
This function sets the Hessian matrix for a given Highs model.
Usage
hi_model_set_hessian(model, matrix)
Arguments
model |
an object of class |
matrix |
a matrix giving the Hessian matrix.
Allowed matrix classes are |
Value
NULL
Examples
model <- hi_new_model()
hessian_matrix <- matrix(c(1, 0, 0, 1), nrow = 2)
hi_model_set_hessian(model, hessian_matrix)
[Package highs version 1.10.0-3 Index]