Skip to content

Add preconditioning to CG solver #526

Description

@VTrappler

Hi,
I use pylops for solving large linear systems, and to test preconditioners.
Since pylops.optimization.solver.cg is very close to scipy.sparse.linalg.cg, I wondered if one could implement this feature, where the preconditioner is given as a linear operator which approximates the inverse of the original matrix (scipy's cg)
I have already implemented it as an new solver, if you are interested, I can prepare a PR.
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions