Skip to content

How do we deal with bounds constraints with the adjoint? #4129

Open
@JHopeCollins

Description

@JHopeCollins

At the moment we just raise an error:

bounds = kwargs.pop("bounds", None)
if bounds is not None:
raise ValueError(
"MissingMathsError: we do not know how to differentiate through a variational inequality")

It would be nice if we could deal with bounds, but someone needs to sit down and work out the maths so it DTRT.

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