-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
When used according to the documentation:
ipopt = JuMP.optimizer_with_attributes(Ipopt.Optimizer, "print_level"=>0)
lin_solve = ma27
base = solve(BasePrice, v2016R(), optimizer = ipopt, linear_solver = lin_solve)I get the error:
ERROR: RawParameter with name linear_solver is not set.
Stacktrace:
[...]
[8] get_optimizer_attribute
@ ~/.julia/packages/JuMP/PKxEW/src/optimizer_interface.jl:152 [inlined]
[9]
@ DICE ~/.julia/dev/DICE/src/2016R.jl:315
This seems related to the fact that somehow (change of JuMP API?) solve and the inner function selectLinearSolver fails to add a linear_solver option, and hence the get call returns an error.
If I indeed use directly:
ipopt = JuMP.optimizer_with_attributes(Ipopt.Optimizer, "print_level"=>0, "linear_solver" => "ma27")`
base = solve(...)
then it works.
Metadata
Metadata
Assignees
Labels
No labels