Skip to contents

Returns the default solver based on availability. Prefers Gurobi if available (to maintain backward compatibility with earlier versions/workflows), and falls back to HiGHS.

Usage

get_default_solver()

Value

Character string indicating the available solver

Examples

get_default_solver()
#> [1] "highs"