hi_model_set_objective {highs} | R Documentation |
Set Objective for Highs Model
Description
This function sets the objective for a given Highs model.
Usage
hi_model_set_objective(model, objective)
Arguments
model |
an object of class |
objective |
a numeric vector giving the objective values to be set for the model. |
Value
NULL
Examples
model <- hi_new_model()
objective <- c(1, 2, 3)
hi_model_set_objective(model, objective)
[Package highs version 1.10.0-2 Index]