Skip to content

Replacement of NLsolve.jl #1012

Description

@langestefan

Hi!

PowerModels.jl currently depends on NLsolve.jl to compute the solution of the non-linear system with compute_ac_pf. NLsolve hasn't had a release since December 2020 and is currently not actively maintained. The current release v4.5.1 is limited to NLsolversBase v7, with the change to v8 requiring a breaking release of NLsolve.jl: JuliaNLSolvers/NLsolve.jl#295 (comment)

I spoke to Patrick on slack and he adviced that it is best to move off from NLsolve since nobody is really looking at it anymore, not for years.

Then the question is, what to replace it with? I did some experiments with NonlinearSolve.jl, that seems to be the most natural replacement. Alternatively we could roll our own implementation of Newton Rhapson and just drop the dependency entirely.

Please let me know your opinion and I can make a PR.

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