powered by
This function returns the optimization sense (e.g., minimization or maximization) of the provided solver instance.
hi_solver_get_sense(solver)
The optimization sense of the solver instance.
An object of class "highs_solver" representing the solver instance.
solver <- example_solver() hi_solver_get_sense(solver)
Run the code above in your browser using DataLab