hi_solver_set_sense | R Documentation |
This function updates the optimization sense for the given solver instance. Use TRUE for maximization and FALSE for minimization.
hi_solver_set_sense(solver, maximum)
solver |
An object of class "highs_solver". |
maximum |
A boolean indicating whether to set maximization (TRUE) or minimization (FALSE). |
The updated solver instance with the new optimization sense.
solver <- example_solver()
hi_solver_set_sense(solver, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.