Skip to content

Change of solver doesn't seem to work #627

@IreneNS

Description

@IreneNS

As of v1.2.3, it's possible to change the solvers by assigning ef.solver = "..." before optimising. It might be the case that one of the other solvers (see a list here) can handle the large problem

Originally posted by @robertmartin8 in #128

Hi Robert,

I saw from your reply here that as of version1.2.3, one can already change sovler by assign: ef.solver='...'. Now I have version 1.5.6., and I had the same SolverError 'Solver 'OSQP' failed, Try another solver, or solve with verbose=True for more information'.

After I set 'ef.sovler='ECOS', or other solvers listed under cp.installed_solvers(), it still flags the same error message, indicating the setting of the new solver didn't really work, please refer to my screenshot below.

Please let me know how to set the solver in ef? Thank you!

Irene

Image

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