cooper-org/cooper

A general-purpose, deep learning-first library for constrained optimization in PyTorch

45
/ 100
Emerging

This helps deep learning practitioners train machine learning models that need to satisfy specific rules or limits, even when these constraints are complex or non-convex. You provide your model, data, and the constraints it needs to follow, and the library helps adjust the model's parameters so it performs well while respecting those boundaries. This is for machine learning engineers, researchers, and data scientists working with advanced deep learning models.

153 stars.

Use this if you need to train deep learning models where the performance or output must adhere to complex, real-world constraints that can't be easily projected or simplified.

Not ideal if your optimization problems do not involve deep learning, or if your constraints are simple and can be handled by basic projection-based methods.

constrained-optimization deep-learning-training machine-learning-research model-optimization neural-network-training
No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 13 / 25

How are scores calculated?

Stars

153

Forks

14

Language

Python

License

MIT

Last pushed

Nov 15, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/cooper-org/cooper"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.