cooper-org / cooper

A general-purpose, deep learning-first library for constrained optimization in PyTorch
https://cooper.readthedocs.io/
MIT License
106 stars 10 forks source link

Fix closure signature to accept any set of arguments #50

Closed merajhashemi closed 2 years ago

merajhashemi commented 2 years ago

The closure method of the ConstrainedMinimizationProblem class accepts any signature.