hi_model_set_objective | R Documentation |
This function sets the objective for a given Highs model.
hi_model_set_objective(model, objective)
model |
an object of class |
objective |
a numeric vector giving the objective values to be set for the model. |
NULL
model <- hi_new_model()
objective <- c(1, 2, 3)
hi_model_set_objective(model, objective)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.