API Reference¶
Moreau provides a unified API across CPU and GPU backends, with integrations for PyTorch and JAX.
Quick Reference¶
Core Classes¶
Class |
Description |
|---|---|
|
Single problem solver |
|
Batched solver with shared structure |
|
Cone specification |
|
Solver configuration |
|
IPM algorithm settings |
Framework Integrations¶
Framework |
Main Class |
Features |
|---|---|---|
PyTorch |
|
autograd, functional API |
JAX |
|
jit, vmap, grad |
Data Types¶
Type |
Description |
|---|---|
|
Primal/dual solution (x, z, s) |
|
Batched solution arrays |
|
Solver metadata (status, timing) |
|
Solve outcome enum |