Learn R Programming

highs (version 1.10.0-1)

hi_solver_get_sense: 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)

Value

The optimization sense of the solver instance.

Arguments

solver

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

Examples

Run this code
solver <- example_solver()
hi_solver_get_sense(solver)

Run the code above in your browser using DataLab