moreau 0.4.1


pip install moreau

  Latest version

Released: Sep 19, 2026


Meta
Author: Shane Barratt
Requires Python: >=3.9

Classifiers

Development Status
  • 4 - Beta

Intended Audience
  • Science/Research

License
  • OSI Approved :: Apache Software License

Programming Language
  • Python :: 3
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

Topic
  • Scientific/Engineering :: Mathematics

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.

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 for documentation, examples, and source.

License

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

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
moreau-cpu (==0.4.1)
numpy (>=1.19.0)
pydantic (>=2.0.0)