Skip to content

KKT residuals #35

Description

@dpo

I think stop_d, stop_c and stop_p have nothing to do in NLPModel. Similarly, the methods that compute KKT residuals are not properties of a model, and so should be moved out of there. I propose to expand the KKTresiduals class to be a general "KKT residual computer". Instead of assigning values to the residuals, we would create an instance based on a model, e.g.,

kkt = KKTresidual(model)

update model.x, model.y, etc., and then update the residuals using something like kkt.update().

Currently, no solver uses the methods that compute KKT residuals to check stopping conditions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions