Open pjssilva opened 1 year ago
In the quick start tutorial, when associating the model with the Progressive Hedging algorithm, it appears the following code
set_optimizer_attribute(sp_progressivehedging, SubProblemOptimizer(), Ipopt.Optimizer) set_suboptimizer_attribute(sp_progressivehedging, MOI.RawParameter("print_level"), 0) # Silence Ipopt
It seems like MOI does not suppoer RawParamter anymore. I could make the algorithm run by changing the code to
MOI
RawParamter
set_optimizer_attribute( sp_progressivehedging, SubProblemOptimizer(), MOI.OptimizerWithAttributes(Ipopt.Optimizer, MOI.Silent() => true) )
Try MOI.RawOptimizerAttribute("print_level")
MOI.RawOptimizerAttribute("print_level")
It also works.
In the quick start tutorial, when associating the model with the Progressive Hedging algorithm, it appears the following code
It seems like
MOI
does not suppoerRawParamter
anymore. I could make the algorithm run by changing the code to