Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. JAX
  3. Optimistix

Optimistix

Apache-2.0Pythonv0.1.0

A JAX library for nonlinear optimization including root finding, minimization, fixed points, and least squares.

GitHubGitHub
623 stars55 forks0 contributors

What is Optimistix?

Optimistix is a nonlinear optimization library for JAX that provides solvers for root finding, minimization, fixed points, and least squares problems. It addresses the need for modular, high-performance optimization tools in scientific computing and machine learning workflows, built on JAX's autodiff and hardware acceleration capabilities.

Target Audience

Researchers and engineers working on scientific computing, machine learning, or numerical methods who need flexible, high-performance nonlinear solvers within the JAX ecosystem.

Value Proposition

Developers choose Optimistix for its modular design, interoperability between different solver types, and seamless integration with JAX's autodiff and parallel computing features, offering a composable alternative to monolithic optimization libraries.

Overview

Nonlinear optimisation (root-finding, least squares, ...) in JAX+Equinox. https://docs.kidger.site/optimistix/

Use Cases

Best For

  • Solving implicit equations in differential equation solvers
  • Training neural networks with custom optimization algorithms
  • Performing nonlinear least squares fitting in scientific models
  • Finding fixed points in dynamical systems simulations
  • Root finding in physics or engineering applications
  • Building modular optimization pipelines with interchangeable components

Not Ideal For

  • Projects not using JAX (e.g., TensorFlow or PyTorch workflows)
  • Applications requiring only linear programming or convex optimization
  • Environments with Python versions below 3.11
  • Teams needing out-of-the-box, pre-configured solvers with minimal setup

Pros & Cons

Pros

Interoperable Solver Conversion

Automatically converts between problem types, such as root-finding to least squares, enabling flexible solving strategies without manual reformulation.

Modular Optimizer Components

Allows mixing and matching components like BFGS quadratic bowls and dogleg descent paths, facilitating custom solver configurations for specific needs.

PyTree State Integration

Uses PyTrees as optimization state, aligning with JAX's functional design for better composability and seamless integration into JAX workflows.

High Performance via JAX

Leverages JAX's autodiff, GPU/TPU support, and autoparallelism for fast compilation and runtimes, ideal for compute-intensive scientific problems.

Optax Seamless Interoperability

Integrates directly with Optax for gradient-based optimization, enhancing machine learning pipelines with combined solver and optimizer capabilities.

Cons

JAX Ecosystem Dependency

Requires deep familiarity with JAX and its tools, creating a barrier for teams not already invested in this ecosystem or transitioning from other frameworks.

Increased Configuration Complexity

The modular design necessitates more boilerplate code and setup compared to monolithic libraries, which can slow down prototyping for simple tasks.

Limited Constraint Handling

Focuses on unconstrained nonlinear problems, lacking built-in support for constraints, forcing users to reformulate issues or rely on external libraries.

Frequently Asked Questions

Quick Stats

Stars623
Forks55
Contributors0
Open Issues67
Last commit1 month ago
CreatedSince 2023

Tags

#scientific-computing#gradient-descent#jax#deep-learning#least-squares#neural-networks#equinox#optimization#machine-learning#numerical-methods#root-finding#nonlinear-optimization

Built With

E
Equinox
J
JAX
P
Python

Included in

JAX2.1k
Auto-fetched 1 day ago

Related Projects

ALXALX

Google Research

Stars38,873
Forks8,477
Last commit6 days ago
OryxOryx

Probabilistic reasoning and statistical analysis in TensorFlow

Stars4,436
Forks1,129
Last commit13 days ago
BRAXBRAX

Massively parallel rigidbody physics simulation on accelerator hardware.

Stars3,247
Forks356
Last commit1 day ago
MctxMctx

Monte Carlo tree search in JAX

Stars2,671
Forks219
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub