pagmo

Scientific library for massively parallel optimization algorithms

brewmacoslinux
Try with needOr install directly
Source

About

Scientific library for massively parallel optimization

Commands

pagmo

Examples

Import pagmo in Python to solve optimization problems with multiple algorithms$ python3 -c "import pagmo; print(pagmo.__version__)"
Create and solve a simple optimization problem using pagmo's UDP interface$ python3 -c "import pagmo as pg; prob = pg.problem(pg.sphere(10)); algo = pg.algorithm(pg.de()); pop = pg.population(prob, 20); pop = algo.evolve(pop); print(pop.champion_f)"
Use pagmo for multi-objective optimization with a built-in test problem$ python3 -c "import pagmo as pg; prob = pg.problem(pg.dtlz()); algo = pg.algorithm(pg.nsga2()); pop = pg.population(prob, 50); pop = algo.evolve(pop)"