Python optimization-algorithms

Open-source Python projects categorized as optimization-algorithms Edit details

Top 15 Python optimization-algorithm Projects

  • evotorch

    EvoTorch is an advanced evolutionary computation library built directly on top of PyTorch, created at NNAISENSE.

    Project mention: NNAISENSE Open-Sources ‘EvoTorch’: An Evolutionary Algorithm Library for the Machine Learning Community | | 2022-08-14

    An Advanced Evolutionary library or algorithm has been a dream of scientists and AI/ML enthusiasts since the concept was introduced. This vision has come true thanks to the scientists at NNAISENSE, a Switzerland-based AI Enterprise. They created an open-source platform called EvoTorch. When operated in combination with Machine Learning, it can solve complex operational problems in a fraction of time, with lower costs, and at a larger scale. Evolutionary algorithms act as a step toward solving cascading problems that occur when the problem’s size and complexity increase. Evolutionary algorithms make the situations easier to handle the complexity without adding to the cost, they are also much easier to connect through GPUs and CPUs parallelly to ease up the calculation time and the complexity associated with it, that the only limit to your computational power becomes your budget. The evolutionary algorithms are built in the open framework EvoTorch.

  • python-mip

    Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs

    Project mention: Ask HN: Do you use an optimization solver? Which one? Why? Do you like it? | | 2022-04-20

    I've been using CBC via python-mip ( It's great because it's got a super clean interface (milp variables/expressions/constraints), the code is quite accessible, and it's low overhead which makes it good for solving many very small problems.

    Community sentiment seems to be beginning to shift toward favouring the HiGHS solver ( over CBC. Something I'm keeping a close eye on.

    nextmv seems to pitch itself as a generic solving ("decision automation") platform or something (unclear). But it seems that the only fleshed out product offering is for vehicle routing, based on the docs. Are there plans to offer, for instance, a solver binary that can be used to solve generic problems?

    Also all the github repos under are private, so links from docs are 404.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • zoofs

    zoofs is a python library for performing feature selection using a variety of nature-inspired wrapper algorithms. The algorithms range from swarm-intelligence to physics-based to Evolutionary. It's easy to use , flexible and powerful tool to reduce your feature size.

    Project mention: [D] Feature engineering automation? | | 2022-04-27

    and as u described considering you will end up with a lot of features. for feature selection. Zoofs is a wrapper based feature selection, so you'll be able select feature-based purely on performance if u have a healthy test set or if u perform cross-validation

  • csp

    Algorithm for Cutting Stock Problem using Google OR-Tools. Link to the tool: (by emadehsan)

    Project mention: Cutting Stock Problem 1D | | 2022-09-13
  • pybobyqa

    Python-based Derivative-Free Optimization with Bound Constraints

  • geneal

    A genetic algorithm implementation in python

    Project mention: Any libraries for generic automatic parameter searching? | | 2021-10-27

    I literally just used this super simple library and it worked:

  • GARI

    GARI (Genetic Algorithm for Reproducing Images) reproduces a single image using Genetic Algorithm (GA) by evolving pixel values.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • ML-Optimizers-JAX

    Toy implementations of some popular ML optimizers using Python/JAX

  • fliscopt

    Algorithms for flight scheduling optimization.

    Project mention: Highlights from Neuromatch 4.0 Conference | | 2022-01-13

    This poster is interesting for anyone who finds concepts of attention mechanisms, Genetic algorithms interesting. In this poster the authors present an interesting idea as to how, switching mechanisms are responsible for improvements in biological organisms as well as in simulated beings. They take this idea to an extreme by implementing “switching” within an algorithm (Inter algorithmic switching) to between two diff algorithms (Intra algorithmic switching).

  • yaglm

    A python package for penalized generalized linear models that supports fitting and model selection for structured, adaptive and non-convex penalties.

    Project mention: Yaglm: A Python package for regularized linear models | | 2021-12-25
  • qsearch

    A compiler for quantum computers based on A* and numerical optimization.

  • flpytorch

    FL_PyTorch: Optimization Research Simulator for Federated Learning

    Project mention: [R] [P] FL_PyTorch: Optimization Research Simulator for Federated Learning is publicly available on GitHub. | | 2022-07-27


  • tf-madgrad

    A tf.keras implementation of Facebook AI's MadGrad optimization algorithm

  • PyGenetic

    A multi-purpose genetic algorithm written in python

    Project mention: PyGenetic - Genetic algorithms in python | | 2021-12-15

    I made this small package for genetic algorithms in python. And I would like to improve it, do you have any suggestions on how I can go about improving it? PyGenetic

  • ExpensiveOptimBenchmark

    Benchmarking Surrogate-based Optimisation Algorithms on Expensive Black-box Functions

    Project mention: 29 Python real world optimization tutorials | | 2022-07-14

    For the problems with continous decision variables it is not trivial to come up with faster approaches on a modern many-core CPU. But even with discrete input (scheduling and planning) new continous optimizers can compete. The trick is to utilize parallel optimization runs and numba to perform around 1E6 fitness evaluations each second. Advantage is that it is much easier to create a fitness function than for instance to implement incremental score calculation in Optaplanner. And it is more flexible if you have to handle non-standard problems. For very expensive optimizations (like parallelization of fitness evaluation is more important than to use surrogate models.


    Download’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-09-13.

Python optimization-algorithms related posts


What are some of the best open-source optimization-algorithm projects in Python? This list will help you:

Project Stars
1 evotorch 668
2 python-mip 361
3 zoofs 156
4 csp 71
5 pybobyqa 53
6 geneal 49
7 GARI 41
8 ML-Optimizers-JAX 38
9 fliscopt 29
10 yaglm 24
11 qsearch 24
12 flpytorch 21
13 tf-madgrad 20
14 PyGenetic 18
15 ExpensiveOptimBenchmark 10
Find remote jobs at our new job board There are 5 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Download’s Tech Salary Report
Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform