ChooseOptimizer._solver_table
— ConstantThe _solver_table
maps solver Modules as Symbols (e.g., :Cbc
) to a tuple of (name, verbose, quiet)
values.
ChooseOptimizer.clear_solver_options
— Methodclear_solver_options()
clears all solver options.
ChooseOptimizer.get_solver
— Methodget_solver()
Generates the necessary arguments for creating a JuMP
Model
. That is, one just uses Model(get_solver())
.
ChooseOptimizer.get_solver_name
— Methodget_solver_name()
Returns the solver module that is currently chosen.
ChooseOptimizer.get_solver_options
— Methodget_solver_options()::Dict
returns the dictionary of current solver options.
ChooseOptimizer.set_solver
— Functionset_solver(OPT_NAME::Module = GLPK, verb::Bool = true)
sets the optimization solver to be used.
This automatically invokes clear_solver_options()
and then sets the appropriate option for verbose output based on the value of the (optional) verb
argument.
ChooseOptimizer.set_solver_options
— Methodset_solver_options(kwd::String, val)
set_solver_options(d::Dict)
set_solver_options(kwd::Symbol, val)
set an option to be used by the solver.
set_solver_options(d::Dict)
adds all the options in d
.
ChooseOptimizer.set_solver_verbose
— Functionset_solver_verbose(verb::Bool = true)
sets how verbose the solver is during its work.