Skip to main content

proxax

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

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.1

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.1
File Size Uploaded Provenance Actions
proxax-0.0.1.tar.gz 205.6 kB Without provenance Details for proxax-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 329.5 kB

Release files / proxax-0.0.1.tar.gz

Download URL proxax-0.0.1.tar.gz
Size 205.6 kB
Tags Source
SHA-256 checksum
How to use checksums
859705f5e9c4c1d65b00bbd91fb47fac3a089ef6c47137cc4df565ea59b66598
BLAKE2b-256 checksum
How to use checksums
37aea3e9a1faa7d865934cac3e28697c8ed4afea473b7a97c29f955040f13b53
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.1-py3-none-any.whl

Download URL proxax-0.0.1-py3-none-any.whl
Size 123.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97444fe666a1b74b124ba5bfb0b047581ef24c6cc6233f26cb1010eb39e5fb78
BLAKE2b-256 checksum
How to use checksums
d08298fd83811f4086bbc9e7a9d827468478aa20dda8a8edfb50754a229ac2c0
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.1

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.1 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