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
I recently experience issue #135. The reason of not respected boundaries turned out to be here:
if (phenocandidates.size())
_solutions._candidates.at(r).set_fvalue(
_func(phenocandidates.col(r).data(), candidates.rows()));
The expression phenocandidates.col(r).data() assumes that the column data is adjacent in memory, which in fact depends on the defaults of the Eigen library. Suggested fix (in eo_matrix.h):
I recently experience issue #135. The reason of not respected boundaries turned out to be here:
The expression
phenocandidates.col(r).data()
assumes that the column data is adjacent in memory, which in fact depends on the defaults of the Eigen library. Suggested fix (in eo_matrix.h):