Package Details: libcmaes 0.9.7-1

Git Clone URL: (read-only, click to copy)
Package Base: libcmaes
Description: libcmaes is a multithreaded C++11 library with Python bindings for high performance blackbox stochastic optimization using the CMA-ES algorithm for Covariance Matrix Adaptation Evolution Strategy.
Upstream URL:
Licenses: LGPLv3
Submitter: b52
Maintainer: benallard
Last Packager: benallard
Votes: 0
Popularity: 0.000000
First Submitted: 2015-07-25 13:04
Last Updated: 2021-03-19 17:29

Latest Comments

joaocandre commented on 2019-02-26 16:03

Are the python scripts under /python also included? I can't seem to find them anywhere.

b52 commented on 2017-01-08 18:32

Got ya.

However, it seems the a git version might be more appropriate as there are a lot of changes since the latest released version.

xantares commented on 2017-01-07 19:58

please do:
CXX=g++ ./configure ...

xantares commented on 2017-01-05 20:53

actually it does not build with clang installed, gcc must be used:

make[2]: Entering directory '/tmp/yaourt-tmp-xantares/aur-libcmaes/src/libcmaes-0.9.5/python'
clang++ -g -Wall -fopenmp -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=gnu++11 -I../ -I../src -I/usr/include/eigen3 -I/usr/include/python3.5m -I/usr/lib/python3.5/site-packages/numpy/core/include -fPIC -c
In file included from
In file included from ../src/cmaes.h:25:
In file included from ../src/esoptimizer.h:27:
In file included from ../src/parameters.h:25:
In file included from ../src/eo_matrix.h:26:
In file included from /usr/include/eigen3/Eigen/Dense:1:
/usr/include/eigen3/Eigen/Core:247:10: fatal error: 'omp.h' file not found
#include <omp.h>
1 error generated.
make[2]: *** [Makefile:456: lcmaes.o] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-xantares/aur-libcmaes/src/libcmaes-0.9.5/python'
make[1]: *** [Makefile:498: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-xantares/aur-libcmaes/src/libcmaes-0.9.5'
make: *** [Makefile:386: all] Error 2
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build libcmaes.

b52 commented on 2017-01-04 23:47

@xanatares Give it a try, hope it works as intended. However, there were a lot of errors to fix.

xantares commented on 2016-12-15 19:25

I would need python bindings, they are enabled with --enable-python
Then you need to depend on python-numpy and boost-libs

b52 commented on 2016-12-07 21:38

@xantares Fixed both, thank you!

xantares commented on 2016-12-07 17:29

eigen is header-only so it's a makedepends
I guess it depends on gcc-libs then.