Skip to content

Come up with better hprod signature #22

Description

@dpo

Everywhere, hprod is defined as hprod(x, z, v) where z are Lagrange multipliers. This is cumbersome for unconstrained, bound-constrained or linearly-constrained problems. We should come up with a better signature and use it throughout. For example, hprod(v, x, z=None) or hprod(v, x, **kwargs) so unconstrained problems can simply use hprod(v, x). The vector to multiply with appears first, which is a bit counter-intuitive. In this case, for consistency, we should also use jprod(v, x) and jtprod(u, x) everywhere.

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