Skip to contents

Get or set the solver specification used when a scenario does not carry one of its own. Normally one of the solver_options presets.

Usage

get_default_solver()

set_default_solver(solver)

Arguments

solver

a named list describing the solver, e.g. solver_options$glpk.

Value

get_default_solver() the solver list; set_default_solver() the previous value, invisibly.

Examples

get_default_solver()
#> $name
#> [1] "glpk"
#> 
#> $lang
#> [1] "GLPK"
#>