hi_solver_get_sense {highs}R Documentation

Get the optimization sense of the solver instance.

Description

This function returns the optimization sense (e.g., minimization or maximization) of the provided solver instance.

Usage

hi_solver_get_sense(solver)

Arguments

solver

An object of class "highs_solver" representing the solver instance.

Value

The optimization sense of the solver instance.

Examples

solver <- example_solver()
hi_solver_get_sense(solver)


[Package highs version 1.10.0-2 Index]