Skip to content

Errors with some Ipopt Solver Settings #154

@ccoffrin

Description

@ccoffrin

Given that #130 was resolved I wanted to checkout the performance of Zygote for AC-OPF (i.e. the rosetta-opf example). I ran into a couple issues you may have some ideas about,

    result = Nonconvex.optimize(
        model,
        IpoptAlg(),
        NonconvexCore.getinit(model);
        options = IpoptOptions(; first_order=false, symbolic=true, sparse=true), # works
        #options = IpoptOptions(; symbolic=true, sparse=true), # works
        #options = IpoptOptions(; first_order=false, sparse=true), # MethodError
        #options = IpoptOptions(; first_order=false, symbolic=true), # BoundsError
        #options = IpoptOptions(; first_order=false), # executes but does not converge, most likely incorrect derivatives
        #options = IpoptOptions(; symbolic=true), # BoundsError
        #options = IpoptOptions(; sparse=true), # works
        #options = IpoptOptions(), # executes but does not converge, most likely incorrect derivatives
    )

The executes but does not converge are the most mysterious to me because the code runs but with unexpected results.

It was not clear to me which AD backend was being used for these different settings, is there an easy way to query this in the result data?

CC @odow

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