Metadata-Version: 2.5
Name: moreau
Version: 0.4.1
Summary: Moreau: Conic optimization solver with CPU and optional GPU backends
Project-URL: Homepage, https://github.com/moreau-project/moreau
Project-URL: Repository, https://github.com/moreau-project/moreau
Project-URL: Documentation, https://moreau.so
Author: Shane Barratt
Author-email: Parth Nobel <parthnobel@berkeley.edu>, Steven Diamond <diamond@cs.stanford.edu>
License: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Keywords: conic,convex,cuda,gpu,optimization,solver
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.9
Requires-Dist: moreau-cpu==0.4.1
Requires-Dist: numpy>=1.19.0
Requires-Dist: pydantic>=2.0.0
Provides-Extra: all
Requires-Dist: moreau-cuda12==0.4.1; extra == 'all'
Requires-Dist: torch>=2.4.0; extra == 'all'
Provides-Extra: cuda
Requires-Dist: moreau-cuda12==0.4.1; extra == 'cuda'
Provides-Extra: cuda12
Requires-Dist: moreau-cuda12==0.4.1; extra == 'cuda12'
Provides-Extra: cuda13
Requires-Dist: moreau-cuda13==0.4.1; extra == 'cuda13'
Provides-Extra: test
Requires-Dist: cvxpy>=1.4.0; extra == 'test'
Requires-Dist: pytest>=7.0.0; extra == 'test'
Provides-Extra: torch
Requires-Dist: torch>=2.4.0; extra == 'torch'
Description-Content-Type: text/markdown

# moreau

Unified Python interface for **Moreau**, a batched differentiable conic
optimization solver with CPU and optional GPU (CUDA) backends.

Solves quadratic conic programs of the form:

```
minimize    (1/2) xᵀPx + qᵀx
subject to  Ax + s = b
            x ∈ K₁,  s ∈ K₂
```

where `s ∈ K₂` constrains the slack and `x ∈ K₁` is a **Direct Conic
Constraint**. Both cones are products of nonnegative, second-order, exponential,
power, generalized power, and PSD cones. `K₂` also admits the zero cone;
`K₁` admits the free cone instead.

```bash
pip install moreau            # CPU only
pip install moreau[cuda]      # CUDA 12 GPU backend (requires Python 3.12+)
```

This package depends on `moreau-cpu` and optionally `moreau-cuda`. See the
[main repository](https://github.com/moreau-project/moreau) for documentation,
examples, and source.

## License

Apache 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE) for full terms and
upstream attribution (Clarabel.rs, diffqcp, DAQP).
