Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Optimization Python Packages

Python packages with the GitHub topic optimization. Sorted by monthly downloads, with stars and forks.
ray-project
ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

16.4M 44K 8K
gepa-ai
gepa

Optimize prompts, code, and more with AI-powered Reflective Optimization

11.3M 8K 639
google
ortools

Google's Operations Research tools:

9.1M 14K 3K
NVIDIA
nemo-relay

Multi-language agent runtime and library for execution scope management, lifecycle events, and middleware on tool and LLM calls.

8.9M 266 124
oxfordcontrol
clarabel

Clarabel.rs: Interior-point solver for convex conic optimisation problems in Rust.

5.4M 635 61
cvxpy
cvxpy

A Python-embedded modeling language for convex optimization problems.

5.2M 6K 1K
casadi
casadi

CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python, Matlab/Octave, Julia or Javascript

4.4M 2K 472
DanielBok
nlopt

A project to package the NLOpt library to wheels

3.7M 34 20
google-deepmind
optax

Optax is a gradient processing and optimization library for JAX.

3.7M 2K 401
jazzband
django-silk

Silky smooth profiling for Django

2.4M 5K 383
qpsolvers
qpsolvers

Quadratic programming solvers in Python with a unified API

1.5M 765 103
Pyomo
pyomo

An object-oriented algebraic modeling language in Python for structured optimization problems.

1.3M 3K 611
bayesian-optimization
bayesian-optimization

A Python implementation of global optimization with gaussian processes.

1.2M 9K 2K
huggingface
optimum

🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

1.2M 4K 723
darnstrom
daqp

A dual active-set algorithm for convex quadratic programming

982K 142 29
pchtsp
orloge

log parser for MIP and LP solvers

941K 23 2
e2nIEE
pandapower

Convenient Power System Modelling and Analysis based on PYPOWER and pandas

746K 1K 648
google
jaxopt

Hardware accelerated, batchable and differentiable optimizers in JAX.

601K 1K 78
inisis
onnxslim

A Toolkit to Help Optimize Onnx Model

596K 527 46
holgern
scikit-optimize

Sequential model-based optimization with a `scipy.optimize` interface

593K 25 7
Linux-cpp-lisp
opt-einsum-fx

Einsum optimization using opt_einsum and PyTorch FX graph rewriting

501K 22 5
patrick-kidger
optimistix

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

483K 632 60
cvxpy
cvxpy-base

A Python-embedded modeling language for convex optimization problems.

353K 6K 1K
PyPSA
linopy

Linear optimization with N-D labeled arrays in Python

282K 264 95
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology