Skip to content

Attributes are ignored with JuMP #171

@mjyshin

Description

@mjyshin

I wanted to set some solver attributes using JuMP, e.g.,

model = Model(Cbc.Optimizer)
set_optimizer_attributes(model,"logLevel"=>0)

which wasn't working. Then I noticed that the Cbc wrapper in JuMP seems to be ignoring every attribute I try. For instance, even something ridiculous like set_optimizer_attributes(model,"blah"=>-π) doesn't throw an error. Is there a known solution to this? I was hoping to set verbosity and presolve off, but I'm not sure if that's even possible with Cbc and JuMP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions