Skip to content

Small problem in the Quick Start tutorial #45

@pjssilva

Description

@pjssilva

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

set_optimizer_attribute(
    sp_progressivehedging, SubProblemOptimizer(), 
    MOI.OptimizerWithAttributes(Ipopt.Optimizer, MOI.Silent() => true)
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions