pymoo
Latest Version: pymoo==0.4.2

pymoo: Multi-objective Optimization in Python

Our framework offers state of the art single- and multi-objective optimization algorithms and many more features related to multi-objective optimization such as visualization and decision making. pymoo is available on PyPi and can be installed by:

pip install -U --no-cache-dir pymoo

Please note that some modules can be compiled to speed up computations (optional). The command above attempts is made to compile the modules; however, if unsuccessful, the plain python version is installed. More information are available in our Installation Guide.

To get familiar with our framework we recommended having a look at our getting started guide:

Getting Started

Features

Furthermore, our framework offers a variety of different features which cover various facets of multi-objective optimization:

Interface

Function: minimize

Parameters: Problem, Algorithm, Termination

Optionals: Callback, Display, ...

Returns: Result

Related: Checkpoints

Problems

Single-objective: Ackley, Griewank, Rastrigin, Rosenbrock, Zakharov, ...

Multi-objective: BNH, OSY, TNK, Truss2d, Welded Beam, ZDT, ...

Many-objective: DTLZ, WFG

Constrained: CTP, DASCMOP, MW, CDTLZ

Related: Problem Definition, Gradients, Parallelization

Operators

Sampling: Random, LHS
Selection: Random, Binary Tournament
Crossover: SBX, UX, HUX, DE Point, Exponential, OX, ERX
Mutation: Polynomial, Bitflip, Inverse Mutation
Repair

Decomposition

Weighted-Sum, ASF, AASF, Tchebysheff, PBI

Reference

If you have used our framework for research purposes, you can cite our journal Paper (IEEE Early Access) with:

@ARTICLE{pymoo,
    author={J. {Blank} and K. {Deb}},
    journal={IEEE Access},
    title={Pymoo: Multi-Objective Optimization in Python},
    year={2020},
    volume={8},
    number={},
    pages={89497-89509},
}

News

September 4, 2020: We are more than happy to announce that a new version of pymoo (version 0.4.2) is available. This version has some new features and evolutionary operators, as well as an improved getting, started guide. For more details, please have a look at the release notes. (Release Notes)

May 4, 2020: A new release of pymoo is available. Version 0.4.1 of our framework contains a novel method to generate an arbitrary number of reference directions. Reference directions are required to run most of the many-objective optimization algorithms such as NSGA3 or MOEAD. Moreover, we have fixed minor bugs and provide a basic implementation of the well-known Hooke and Jeeves Pattern Search algorithm for single-objective problems. (Release Notes)

April 3, 2020: We are glad to announce pymoo 0.4.0 has been released. We have added two new algorithms (BRKGA, CMAES) and added the test problem suite WFG. Additionally, we have improved the Display Module to create custom printouts and developed a new termination criterion for multi-objective algorithms. (Release Notes)

More News

About

This framework is developed and maintained by Julian Blank who is affiliated to the Computational Optimization and Innovation Laboratory (COIN) supervised by Kalyanmoy Deb at the Michigan State University in East Lansing, Michigan, USA.

We have developed the framework for research purposes and hope to contribute to the research area by delivering tools for solving and analyzing multi-objective problems. Each algorithm is developed as close as possible to the proposed version to the best of our knowledge. NSGA-II and NSGA-III have been developed collaboratively with one of the authors and, therefore, we recommend using them for official benchmarks.

If you intend to use our framework for any profit-making purposes, please contact us. Also, be aware that even state-of-the-art algorithms are just the starting point for many optimization problems. The full potential of genetic algorithms requires customization and the incorporation of domain knowledge. We have experience for more than 20 years in the optimization field and are eager to tackle challenging problems. Let us know if you are interested in working with experienced collaborators in optimization. Please keep in mind that only through such projects can we keep developing and improving our framework and making sure it meets the industry’s current needs.

Moreover, any kind of contribution is more than welcome:

(i) Give us a star on GitHub. This makes not only our framework but, in general, multi-objective optimization more accessible by being listed with a higher rank regarding specific keywords.

(ii) To offer more and more new algorithms and features, we are more than happy if somebody wants to contribute by developing code. You can see it as a win-win situation because your development will be linked to your publication(s), which can significantly increase your work awareness. Please note that we aim to keep a high level of code quality, and some refactoring might be suggested. We have prepared a list of suggested contributions.

(iii) You like our framework, and you would like to use it for profit-making purposes? We are always searching for industrial collaborations because they help direct research to meet the industry’s needs. Our laboratory solving practical problems have a high priority for every student and can help you benefit from the research experience we have gained over the last years.

If you find a bug or you have any kind of concern regarding the correctness, please use our Issue Tracker Nobody is perfect Moreover, only if we are aware of the issues we can start to investigate them.

Indices and tables

Contact

Julian Blank (blankjul [at] egr.msu.edu)
Michigan State University
Computational Optimization and Innovation Laboratory (COIN)
East Lansing, MI 48824, USA