hi_solver_get_sense: Get the optimization sense of the solver instance.

View source: R/solver-api.R

hi_solver_get_senseR 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)


highs documentation built on June 8, 2025, 10:36 a.m.