Skip to main content

proxax

PyPI version Documentation Status License: MIT

Certified first-order proximal point methods for unconstrained and constrained nonconvex composite optimization in JAX and Optax.

Documentation: https://proxax.readthedocs.io/

Installation

pip install proxax

Or with uv:

uv add proxax

Problem Classes

  1. Unconstrained Nonconvex Composite Optimization: $$\min_{x \in \mathcal{X}} ; f(x) + h(x)$$ where $f$ (smooth) is differentiable and $(m, L^+)$-weakly convex/smooth on an arbitrary JAX PyTree $\mathcal{X}$, and $h$ (proximal) is proper, closed, convex, and proximable.

  2. Set / Cone-Constrained Nonconvex Composite Optimization: $$\min_{x \in \mathcal{X}} ; f(x) + h(x) \quad \text{s.t.} \quad \mathcal{A}(x) \in \mathcal{C}$$ where $\mathcal{A}: \mathcal{X} \to \mathcal{Y}$ is a linear map between PyTrees and $\mathcal{C} \subseteq \mathcal{Y}$ is a closed convex set with Euclidean projection $\Pi_{\mathcal{C}}$.

Quick Example

import jax.numpy as jnp
import proxax
from proxax import constraints
from proxax import prox
from proxax import solvers

problem = proxax.CompositeProblem(
    smooth=lambda x: 0.5 * jnp.dot(x, q_mat @ x) + jnp.dot(c_vec, x),
    proximal=prox.Box(lower=-1.0, upper=1.0),
    constraints=constraints.equality(lambda x: a_mat @ x, rhs=b_vec),
)

sol = proxax.solve(problem, x0, solver=solvers.QPAIPP(opt_tol=1e-5, feas_tol=1e-5))

Available Certified Solvers (wwkong/nc_opt Suite)

  • Unconstrained Composite (CompositeProblem): AIPP, APD (PF.APD), ECG, AG, UPFAG, NCFISTA, AdapFISTA, ACACG, AdapAPG
  • Unconstrained Spectral (SpectralProblem / NuclearNorm): IAICG, DAICG
  • Set / Cone-Constrained (CompositeProblem with constraints): QPAIPP, QPAPD, IALM (NL-IAPIAL / AIDAL), SProxALM, IAIPAL
  • Optax Single-Step Transforms (proxax.optax_compat): proximal, aipp, apd, qp_aipp, qp_apd, ialm

Metadata

Release files for proxax 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proxax 0.0.2
File Size Uploaded Provenance Actions
proxax-0.0.2.tar.gz 205.9 kB Without provenance Details for proxax-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proxax 0.0.2
File Interpreter ABI Platform Actions
proxax-0.0.2-py3-none-any.whl Python 3 none any Details for proxax-0.0.2-py3-none-any.whl

Total release size: 330.0 kB

Release files / proxax-0.0.2.tar.gz

Download URL proxax-0.0.2.tar.gz
Size 205.9 kB
Tags Source
SHA-256 checksum
How to use checksums
34fd8fe087f416939a09e5a2bf9c1f81ae942d82c429384a77469a685aee86d6
BLAKE2b-256 checksum
How to use checksums
ea647038335511531f6c6dd11c2b820e1f4fca3e10c9e95819eaf5dea22de8b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / proxax-0.0.2-py3-none-any.whl

Download URL proxax-0.0.2-py3-none-any.whl
Size 124.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab1d4f69b88b4464bbf2f46a9ed8740a1344c4e8898bba9cc1e605f93ea24c1c
BLAKE2b-256 checksum
How to use checksums
f888ba6ada9c1b88f4bd38504f879babde9e0619a612835d66ca5641b099eef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for proxax 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page