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

#49 Require `maximize=True` for dual optimizers #71

Closed juan43ramirez closed 9 months ago

juan43ramirez commented 1 year ago

Closes #49

Changes

When instantiating a dual_optimizer, we set maximize=True. Pytorch versions below 1.12 are no longer supported. setup.cfg and tox adjusted.

Testing

Passing

gallego-posada commented 9 months ago

This change has already been integrated in branch 1.0.0-alpha (2fc418a33f955ec074c37307ffec3d4c33c4b196). Closing without merge since eventual merge from 1.0.0-alpha into dev will include this change.