modcma 1.0.2__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {modcma-1.0.2/modcma.egg-info → modcma-1.0.4}/PKG-INFO +3 -3
- {modcma-1.0.2 → modcma-1.0.4}/README.md +2 -2
- {modcma-1.0.2 → modcma-1.0.4}/include/c_maes.hpp +3 -3
- {modcma-1.0.2 → modcma-1.0.4}/include/common.hpp +6 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/matrix_adaptation.hpp +5 -6
- {modcma-1.0.2 → modcma-1.0.4}/include/mutation.hpp +6 -3
- {modcma-1.0.2 → modcma-1.0.4}/include/parameters.hpp +0 -2
- {modcma-1.0.2 → modcma-1.0.4}/include/sampling.hpp +2 -2
- {modcma-1.0.2 → modcma-1.0.4}/modcma/__main__.py +1 -1
- {modcma-1.0.2 → modcma-1.0.4}/modcma/parameters.py +1 -1
- {modcma-1.0.2 → modcma-1.0.4/modcma.egg-info}/PKG-INFO +3 -3
- {modcma-1.0.2 → modcma-1.0.4}/setup.py +2 -2
- modcma-1.0.4/src/c_maes.cpp +37 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/common.cpp +23 -9
- {modcma-1.0.2 → modcma-1.0.4}/src/interface.cpp +3 -3
- {modcma-1.0.2 → modcma-1.0.4}/src/mutation.cpp +22 -16
- {modcma-1.0.2 → modcma-1.0.4}/src/parameters.cpp +1 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/restart.cpp +7 -2
- {modcma-1.0.2 → modcma-1.0.4}/src/sampling.cpp +3 -3
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_c_sampling.py +5 -1
- modcma-1.0.2/src/c_maes.cpp +0 -37
- {modcma-1.0.2 → modcma-1.0.4}/LICENSE +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/MANIFEST.in +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Cholesky +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/CholmodSupport +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Core +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Dense +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Eigen +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Eigenvalues +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Geometry +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Householder +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/IterativeLinearSolvers +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Jacobi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/KLUSupport +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/LU +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/MetisSupport +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/OrderingMethods +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/PaStiXSupport +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/PardisoSupport +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/QR +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/QtAlignedMalloc +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/SPQRSupport +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/SVD +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/Sparse +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/SparseCholesky +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/SparseCore +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/SparseLU +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/SparseQR +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/StdDeque +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/StdList +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/StdVector +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/SuperLUSupport +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/UmfPackSupport +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Cholesky/LDLT.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Cholesky/LLT.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/CholmodSupport/CholmodSupport.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/ArithmeticSequence.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Array.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/ArrayBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/ArrayWrapper.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Assign.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/AssignEvaluator.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Assign_MKL.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/BandMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Block.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/BooleanRedux.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/CommaInitializer.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/ConditionEstimator.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/CoreEvaluators.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/CoreIterators.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/CwiseBinaryOp.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/CwiseNullaryOp.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/CwiseTernaryOp.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/CwiseUnaryOp.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/CwiseUnaryView.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/DenseBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/DenseCoeffsBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/DenseStorage.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Diagonal.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/DiagonalMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/DiagonalProduct.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Dot.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/EigenBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/ForceAlignedAccess.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Fuzzy.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/GeneralProduct.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/GenericPacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/GlobalFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/IO.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/IndexedView.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Inverse.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Map.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/MapBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/MathFunctionsImpl.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Matrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/MatrixBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/NestByValue.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/NoAlias.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/NumTraits.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/PartialReduxEvaluator.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/PermutationMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/PlainObjectBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Product.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/ProductEvaluators.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Random.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Redux.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Ref.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Replicate.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Reshaped.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/ReturnByValue.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Reverse.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Select.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/SelfAdjointView.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Solve.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/SolveTriangular.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/SolverBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/StableNorm.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/StlIterators.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Stride.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Swap.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Transpose.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Transpositions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/TriangularMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/VectorBlock.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/VectorwiseOp.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/Visitor.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AVX/Complex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AVX/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AVX512/Complex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AltiVec/Complex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/CUDA/Complex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/Default/BFloat16.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/Default/ConjHelper.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/Default/Half.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/Default/Settings.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/Default/TypeCasting.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/GPU/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/MSA/Complex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/MSA/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/NEON/Complex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/NEON/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SSE/Complex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SSE/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SVE/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/ZVector/Complex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/functors/AssignmentFunctors.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/functors/BinaryFunctors.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/functors/NullaryFunctors.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/functors/StlFunctors.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/functors/TernaryFunctors.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/functors/UnaryFunctors.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/GeneralMatrixVector.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/Parallelizer.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/SelfadjointProduct.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/TriangularMatrixVector.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/products/TriangularSolverVector.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/BlasUtil.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/ConfigureVectorization.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/Constants.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/DisableStupidWarnings.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/ForwardDeclarations.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/IndexedViewHelper.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/IntegralConstant.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/MKL_support.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/Macros.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/Memory.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/Meta.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/NonMPL2.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/ReshapedHelper.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/StaticAssert.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/SymbolicIndex.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Core/util/XprHelper.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/ComplexSchur.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/EigenSolver.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/RealQZ.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/RealSchur.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/AlignedBox.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/AngleAxis.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/EulerAngles.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/Homogeneous.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/Hyperplane.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/OrthoMethods.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/ParametrizedLine.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/Quaternion.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/Rotation2D.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/RotationBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/Scaling.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/Transform.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/Translation.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/Umeyama.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Householder/BlockHouseholder.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Householder/Householder.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Householder/HouseholderSequence.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/Jacobi/Jacobi.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/KLUSupport/KLUSupport.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/LU/Determinant.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/LU/FullPivLU.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/LU/InverseImpl.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/LU/PartialPivLU.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/LU/arch/InverseSize4.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/MetisSupport/MetisSupport.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/OrderingMethods/Amd.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/OrderingMethods/Ordering.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/PardisoSupport/PardisoSupport.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/QR/ColPivHouseholderQR.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/QR/FullPivHouseholderQR.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/QR/HouseholderQR.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SVD/BDCSVD.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SVD/JacobiSVD.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SVD/SVDBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SVD/UpperBidiagonalization.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/AmbiVector.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/CompressedStorage.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseAssign.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseBlock.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseColEtree.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseCompressedBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseDenseProduct.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseDot.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseFuzzy.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseMap.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseMatrixBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparsePermutation.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseProduct.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseRedux.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseRef.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseSolverBase.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseTranspose.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseTriangularView.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseUtil.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseVector.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/SparseView.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseCore/TriangularSolver.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLUImpl.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_Memory.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_Structs.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_Utils.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SparseQR/SparseQR.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/StlSupport/StdDeque.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/StlSupport/StdList.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/StlSupport/StdVector.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/StlSupport/details.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/misc/Image.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/misc/Kernel.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/misc/RealSvd2x2.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/misc/blas.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/misc/lapack.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/misc/lapacke.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/misc/lapacke_mangling.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/BlockMethods.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/IndexedViewMethods.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/external/Eigen/src/plugins/ReshapedMethods.h +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/bounds.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/modules.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/population.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/restart.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/selection.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/settings.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/stats.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/to_string.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/include/weights.hpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/__init__.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/asktellcmaes.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/__init__.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/__init__.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/bounds.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/matrix_adaptation.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/mutation.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/options.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/parameters.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/restart.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/sampling.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/selection.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/c_maes/cmaescpp/utils.pyi +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/modularcmaes.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/population.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/sampling.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma/utils.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma.egg-info/SOURCES.txt +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma.egg-info/dependency_links.txt +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma.egg-info/requires.txt +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/modcma.egg-info/top_level.txt +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/pyproject.toml +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/setup.cfg +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/bounds.cpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/matrix_adaptation.cpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/ndtri.cpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/population.cpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/selection.cpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/sobol.cpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/src/weights.cpp +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/__init__.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/create_expected.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_asktellcmaes.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_c_adaptation.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_c_bounds.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_c_mutation.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_c_population.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_c_selection.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_c_utils.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_fmin.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_modularcmaes.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_parameters.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_population.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_sampling.py +0 -0
- {modcma-1.0.2 → modcma-1.0.4}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: modcma
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Package Containing Modular CMA-ES optimizer
|
|
5
5
|
Author: Jacob de Nobel
|
|
6
6
|
Author-email: jacobdenobel@gmail.com
|
|
@@ -481,9 +481,9 @@ For the C++ version these should be passed via the `RestartStrategy` enum, which
|
|
|
481
481
|
|
|
482
482
|
```python
|
|
483
483
|
...
|
|
484
|
-
modules.restart_strategy = c_maes.options.
|
|
484
|
+
modules.restart_strategy = c_maes.options.RestartStrategy.NONE
|
|
485
485
|
# or
|
|
486
|
-
modules.restart_strategy = c_maes.options.
|
|
486
|
+
modules.restart_strategy = c_maes.options.RestartStrategy.IPOP
|
|
487
487
|
```
|
|
488
488
|
|
|
489
489
|
Note that the C++ version has an addtional option here, `STOP`, which forces the algortihm to stop whenever a restart condition is met (not to be confused with a break condition).
|
|
@@ -466,9 +466,9 @@ For the C++ version these should be passed via the `RestartStrategy` enum, which
|
|
|
466
466
|
|
|
467
467
|
```python
|
|
468
468
|
...
|
|
469
|
-
modules.restart_strategy = c_maes.options.
|
|
469
|
+
modules.restart_strategy = c_maes.options.RestartStrategy.NONE
|
|
470
470
|
# or
|
|
471
|
-
modules.restart_strategy = c_maes.options.
|
|
471
|
+
modules.restart_strategy = c_maes.options.RestartStrategy.IPOP
|
|
472
472
|
```
|
|
473
473
|
|
|
474
474
|
Note that the C++ version has an addtional option here, `STOP`, which forces the algortihm to stop whenever a restart condition is met (not to be confused with a break condition).
|
|
@@ -10,10 +10,10 @@ struct ModularCMAES
|
|
|
10
10
|
|
|
11
11
|
void recombine();
|
|
12
12
|
|
|
13
|
-
bool step(
|
|
14
|
-
|
|
15
|
-
void operator()(std::function<double(Vector)> objective);
|
|
13
|
+
bool step(FunctionType& objective);
|
|
16
14
|
|
|
15
|
+
void operator()(FunctionType& objective);
|
|
16
|
+
|
|
17
17
|
bool break_conditions() const;
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -21,10 +21,14 @@
|
|
|
21
21
|
using Matrix = Eigen::MatrixXd;
|
|
22
22
|
using Vector = Eigen::VectorXd;
|
|
23
23
|
using Array = Eigen::ArrayXd;
|
|
24
|
+
using size_to = std::optional<size_t>;
|
|
24
25
|
|
|
25
26
|
template <typename T>
|
|
26
27
|
std::ostream &operator<<(std::ostream &os, const std::vector<T> &x);
|
|
27
28
|
|
|
29
|
+
|
|
30
|
+
using FunctionType = std::function<double(const Vector&)>;
|
|
31
|
+
|
|
28
32
|
namespace utils
|
|
29
33
|
{
|
|
30
34
|
/**
|
|
@@ -38,6 +42,8 @@ namespace utils
|
|
|
38
42
|
*/
|
|
39
43
|
std::vector<size_t> sort_indexes(const Vector &v);
|
|
40
44
|
|
|
45
|
+
std::vector<size_t> sort_indexes(const std::vector<size_t>& v);
|
|
46
|
+
|
|
41
47
|
/**
|
|
42
48
|
* @brief Concat two matrices inplace, i.e. put Y in X (colwise)
|
|
43
49
|
*
|
|
@@ -14,8 +14,8 @@ namespace matrix_adaptation
|
|
|
14
14
|
double dd;
|
|
15
15
|
double chiN;
|
|
16
16
|
|
|
17
|
-
Adaptation(const size_t dim, const Vector &x0) : m(x0), m_old(dim), dm(Vector::Zero(dim)),
|
|
18
|
-
ps(
|
|
17
|
+
Adaptation(const size_t dim, const Vector &x0, const Vector &ps) : m(x0), m_old(dim), dm(Vector::Zero(dim)),
|
|
18
|
+
ps(ps), dd(static_cast<double>(dim)),
|
|
19
19
|
chiN(sqrt(dd) * (1.0 - 1.0 / (4.0 * dd) + 1.0 / (21.0 * pow(dd, 2.0)))) {}
|
|
20
20
|
|
|
21
21
|
virtual void adapt_evolution_paths(const Population &pop, const parameters::Weights &w, const std::shared_ptr<mutation::Strategy> &mutation, const parameters::Stats &stats, const size_t mu, const size_t lambda) = 0;
|
|
@@ -27,7 +27,7 @@ namespace matrix_adaptation
|
|
|
27
27
|
|
|
28
28
|
struct None : Adaptation
|
|
29
29
|
{
|
|
30
|
-
None(const size_t dim, const Vector &x0) : Adaptation(dim, x0) {}
|
|
30
|
+
None(const size_t dim, const Vector &x0) : Adaptation(dim, x0, Vector::Ones(dim)) {}
|
|
31
31
|
virtual bool adapt_matrix(const parameters::Weights &w, const parameters::Modules &m, const Population &pop, const size_t mu, const parameters::Settings &settings) override
|
|
32
32
|
{
|
|
33
33
|
return true;
|
|
@@ -46,7 +46,7 @@ namespace matrix_adaptation
|
|
|
46
46
|
Matrix inv_root_C;
|
|
47
47
|
bool hs = true;
|
|
48
48
|
|
|
49
|
-
CovarianceAdaptation(const size_t dim, const Vector &x0) : Adaptation(dim, x0), pc(Vector::Zero(dim)),
|
|
49
|
+
CovarianceAdaptation(const size_t dim, const Vector &x0) : Adaptation(dim, x0, Vector::Zero(dim)), pc(Vector::Zero(dim)),
|
|
50
50
|
d(Vector::Ones(dim)),
|
|
51
51
|
B(Matrix::Identity(dim, dim)), C(Matrix::Identity(dim, dim)),
|
|
52
52
|
inv_root_C(Matrix::Identity(dim, dim))
|
|
@@ -72,8 +72,7 @@ namespace matrix_adaptation
|
|
|
72
72
|
struct MatrixAdaptation : Adaptation
|
|
73
73
|
{
|
|
74
74
|
Matrix M;
|
|
75
|
-
MatrixAdaptation(const size_t dim, const Vector &x0) : Adaptation(dim, x0), M(Matrix::Identity(dim, dim)) {
|
|
76
|
-
ps.setConstant(1);
|
|
75
|
+
MatrixAdaptation(const size_t dim, const Vector &x0) : Adaptation(dim, x0, Vector::Ones(dim)), M(Matrix::Identity(dim, dim)) {
|
|
77
76
|
}
|
|
78
77
|
|
|
79
78
|
void adapt_evolution_paths(const Population &pop, const parameters::Weights &w, const std::shared_ptr<mutation::Strategy> &mutation, const parameters::Stats &stats, const size_t mu, const size_t lambda) override;
|
|
@@ -95,7 +95,8 @@ namespace mutation
|
|
|
95
95
|
const std::shared_ptr<SigmaSampler> &sigma_sampler,
|
|
96
96
|
const double cs, const double sigma0) : tc(threshold_covergence), sq(sequential_selection), ss(sigma_sampler), cs(cs), sigma(sigma0) {}
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
|
|
99
|
+
virtual void mutate(FunctionType& objective, const size_t n_offspring, parameters::Parameters& p) = 0;
|
|
99
100
|
|
|
100
101
|
virtual void adapt(const parameters::Weights &w, std::shared_ptr<matrix_adaptation::Adaptation> adaptation, Population &pop,
|
|
101
102
|
const Population &old_pop, const parameters::Stats &stats, const size_t lambda) = 0;
|
|
@@ -110,7 +111,7 @@ namespace mutation
|
|
|
110
111
|
const std::shared_ptr<SigmaSampler> &sigma_sampler,
|
|
111
112
|
const double cs, const double damps, const double sigma0) : Strategy(threshold_covergence, sequential_selection, sigma_sampler, cs, sigma0), damps(damps) {}
|
|
112
113
|
|
|
113
|
-
void mutate(
|
|
114
|
+
void mutate(FunctionType& objective, const size_t n_offspring, parameters::Parameters& p) override;
|
|
114
115
|
|
|
115
116
|
void adapt(const parameters::Weights &w, std::shared_ptr<matrix_adaptation::Adaptation> adaptation, Population &pop,
|
|
116
117
|
const Population &old_pop, const parameters::Stats &stats, const size_t lambda) override;
|
|
@@ -124,7 +125,7 @@ namespace mutation
|
|
|
124
125
|
double b_tpa = 0.0;
|
|
125
126
|
double rank_tpa = 0.0;
|
|
126
127
|
|
|
127
|
-
void mutate(
|
|
128
|
+
void mutate(FunctionType& objective, const size_t n_offspring, parameters::Parameters &p) override;
|
|
128
129
|
|
|
129
130
|
void adapt(const parameters::Weights &w, std::shared_ptr<matrix_adaptation::Adaptation> adaptation, Population &pop,
|
|
130
131
|
const Population &old_pop, const parameters::Stats &stats, const size_t lambda) override;
|
|
@@ -141,6 +142,8 @@ namespace mutation
|
|
|
141
142
|
struct PSR : CSA
|
|
142
143
|
{
|
|
143
144
|
double succes_ratio = .25;
|
|
145
|
+
|
|
146
|
+
Vector combined;
|
|
144
147
|
|
|
145
148
|
using CSA::CSA;
|
|
146
149
|
|
|
@@ -133,12 +133,12 @@ namespace sampling
|
|
|
133
133
|
*/
|
|
134
134
|
struct Halton : Sampler
|
|
135
135
|
{
|
|
136
|
-
Halton(const size_t d, const
|
|
136
|
+
Halton(const size_t d, const size_to i = std::nullopt);
|
|
137
137
|
|
|
138
138
|
[[nodiscard]] Vector operator()() override;
|
|
139
139
|
|
|
140
140
|
private:
|
|
141
|
-
size_t
|
|
141
|
+
size_t seed;
|
|
142
142
|
std::vector<int> primes;
|
|
143
143
|
|
|
144
144
|
static double next(int index, int base);
|
|
@@ -559,7 +559,7 @@ class Parameters(AnnotatedStruct):
|
|
|
559
559
|
combined = (self.population[:n] + self.old_population[:n]).sort()
|
|
560
560
|
r = np.searchsorted(combined.f, self.population.f[:n])
|
|
561
561
|
r_old = np.searchsorted(combined.f, self.old_population.f[:n])
|
|
562
|
-
|
|
562
|
+
|
|
563
563
|
zpsr = (r_old - r).sum() / pow(n, 2) - self.succes_ratio
|
|
564
564
|
self.s = (1 - self.cs) * self.s + (self.cs * zpsr)
|
|
565
565
|
self.sigma *= np.exp(self.s / self.ds)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: modcma
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Package Containing Modular CMA-ES optimizer
|
|
5
5
|
Author: Jacob de Nobel
|
|
6
6
|
Author-email: jacobdenobel@gmail.com
|
|
@@ -481,9 +481,9 @@ For the C++ version these should be passed via the `RestartStrategy` enum, which
|
|
|
481
481
|
|
|
482
482
|
```python
|
|
483
483
|
...
|
|
484
|
-
modules.restart_strategy = c_maes.options.
|
|
484
|
+
modules.restart_strategy = c_maes.options.RestartStrategy.NONE
|
|
485
485
|
# or
|
|
486
|
-
modules.restart_strategy = c_maes.options.
|
|
486
|
+
modules.restart_strategy = c_maes.options.RestartStrategy.IPOP
|
|
487
487
|
```
|
|
488
488
|
|
|
489
489
|
Note that the C++ version has an addtional option here, `STOP`, which forces the algortihm to stop whenever a restart condition is met (not to be confused with a break condition).
|
|
@@ -11,11 +11,11 @@ from pybind11.setup_helpers import Pybind11Extension, build_ext
|
|
|
11
11
|
with open("README.md", "r", encoding="Latin-1") as fh:
|
|
12
12
|
long_description = fh.read()
|
|
13
13
|
|
|
14
|
-
__version__ = "1.0.
|
|
14
|
+
__version__ = "1.0.4"
|
|
15
15
|
|
|
16
16
|
ext = Pybind11Extension(
|
|
17
17
|
"modcma.c_maes.cmaescpp",
|
|
18
|
-
glob("src/*cpp"),
|
|
18
|
+
[x for x in glob("src/*cpp") if "main" not in x],
|
|
19
19
|
include_dirs=["include", "external"],
|
|
20
20
|
cxx_std=17,
|
|
21
21
|
)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#include "c_maes.hpp"
|
|
2
|
+
|
|
3
|
+
void ModularCMAES::recombine()
|
|
4
|
+
{
|
|
5
|
+
p->adaptation->m_old = p->adaptation->m;
|
|
6
|
+
p->adaptation->m = p->adaptation->m_old + ((p->pop.X.leftCols(p->mu).colwise() - p->adaptation->m_old) * p->weights.positive);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
bool ModularCMAES::step(FunctionType& objective)
|
|
10
|
+
{
|
|
11
|
+
p->mutation->mutate(objective, p->lambda, *p);
|
|
12
|
+
p->selection->select(*p);
|
|
13
|
+
recombine();
|
|
14
|
+
p->adapt();
|
|
15
|
+
if (p->stats.t % (p->settings.dim * 2) == 0 and p->settings.verbose)
|
|
16
|
+
std::cout << p->stats << " (mu, lambda, sigma): " << p->mu
|
|
17
|
+
<< ", " << p->lambda << ", " << p->mutation->sigma << std::endl;
|
|
18
|
+
return !break_conditions();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
void ModularCMAES::operator()(FunctionType& objective)
|
|
22
|
+
{
|
|
23
|
+
while (step(objective))
|
|
24
|
+
;
|
|
25
|
+
|
|
26
|
+
if (p->settings.verbose)
|
|
27
|
+
std::cout << p->stats << std::endl;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
bool ModularCMAES::break_conditions() const
|
|
31
|
+
{
|
|
32
|
+
const auto target_reached = p->settings.target and p->settings.target.value() >= p->stats.fopt;
|
|
33
|
+
const auto budget_used_up = p->stats.evaluations >= p->settings.budget;
|
|
34
|
+
const auto exceed_gens = p->settings.max_generations and p->stats.t >= p->settings.max_generations;
|
|
35
|
+
const auto restart_strategy_criteria = p->settings.modules.restart_strategy == parameters::RestartStrategyType::STOP and p->restart->criteria.any;
|
|
36
|
+
return exceed_gens or target_reached or budget_used_up or restart_strategy_criteria;
|
|
37
|
+
}
|
|
@@ -22,6 +22,18 @@ namespace utils
|
|
|
22
22
|
return idx;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
std::vector<size_t> sort_indexes(const std::vector<size_t> &v)
|
|
26
|
+
{
|
|
27
|
+
std::vector<size_t> idx(v.size());
|
|
28
|
+
std::iota(idx.begin(), idx.end(), 0);
|
|
29
|
+
|
|
30
|
+
std::stable_sort(idx.begin(), idx.end(),
|
|
31
|
+
[&v](size_t i1, size_t i2)
|
|
32
|
+
{ return v[i1] < v[i2]; });
|
|
33
|
+
|
|
34
|
+
return idx;
|
|
35
|
+
}
|
|
36
|
+
|
|
25
37
|
void hstack(Matrix &X, const Matrix &Y)
|
|
26
38
|
{
|
|
27
39
|
X.conservativeResize(Eigen::NoChange, X.cols() + Y.cols());
|
|
@@ -56,7 +68,7 @@ namespace utils
|
|
|
56
68
|
|
|
57
69
|
namespace rng
|
|
58
70
|
{
|
|
59
|
-
int SEED =
|
|
71
|
+
int SEED = std::random_device()();
|
|
60
72
|
std::mt19937 GENERATOR(SEED);
|
|
61
73
|
|
|
62
74
|
void set_seed(const int seed)
|
|
@@ -72,13 +84,15 @@ namespace rng
|
|
|
72
84
|
}
|
|
73
85
|
}
|
|
74
86
|
|
|
75
|
-
namespace functions
|
|
76
|
-
double sphere(const Vector &x)
|
|
87
|
+
namespace functions
|
|
77
88
|
{
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
89
|
+
|
|
90
|
+
double sphere(const Vector &x)
|
|
91
|
+
{
|
|
92
|
+
double res = 0;
|
|
93
|
+
for (auto &xi : x)
|
|
94
|
+
res += xi * xi;
|
|
95
|
+
return res;
|
|
96
|
+
}
|
|
97
|
+
|
|
84
98
|
}
|
|
@@ -117,7 +117,7 @@ void define_samplers(py::module &main)
|
|
|
117
117
|
.def("__call__", &Sobol::operator());
|
|
118
118
|
|
|
119
119
|
py::class_<Halton, Sampler, std::shared_ptr<Halton>>(m, "Halton")
|
|
120
|
-
.def(py::init<size_t,
|
|
120
|
+
.def(py::init<size_t, size_to>(), py::arg("d"), py::arg("i") = std::nullopt)
|
|
121
121
|
.def("__call__", &Halton::operator());
|
|
122
122
|
|
|
123
123
|
py::class_<Mirrored, Sampler, std::shared_ptr<Mirrored>>(m, "Mirrored")
|
|
@@ -730,7 +730,7 @@ void define_cmaes(py::module &m)
|
|
|
730
730
|
py::class_<ModularCMAES>(m, "ModularCMAES")
|
|
731
731
|
.def(py::init<std::shared_ptr<parameters::Parameters>>(), py::arg("parameters"))
|
|
732
732
|
.def("recombine", &ModularCMAES::recombine)
|
|
733
|
-
.def("mutate", [](ModularCMAES &self,
|
|
733
|
+
.def("mutate", [](ModularCMAES &self, FunctionType& objective)
|
|
734
734
|
{ self.p->mutation->mutate(objective, self.p->lambda, *self.p); })
|
|
735
735
|
.def("select", [](ModularCMAES &self)
|
|
736
736
|
{ self.p->selection->select(*self.p); })
|
|
@@ -756,4 +756,4 @@ PYBIND11_MODULE(cmaescpp, m)
|
|
|
756
756
|
define_bounds(m);
|
|
757
757
|
define_selection(m);
|
|
758
758
|
define_cmaes(m);
|
|
759
|
-
}
|
|
759
|
+
}
|
|
@@ -24,7 +24,7 @@ namespace mutation
|
|
|
24
24
|
sigma *= std::exp((cs / damps) * ((adaptation->ps.norm() / adaptation->chiN) - 1));
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
void CSA::mutate(
|
|
27
|
+
void CSA::mutate(FunctionType& objective, const size_t n_offspring, parameters::Parameters& p)
|
|
28
28
|
{
|
|
29
29
|
ss->sample(sigma, p.pop);
|
|
30
30
|
|
|
@@ -49,7 +49,7 @@ namespace mutation
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
void TPA::mutate(
|
|
52
|
+
void TPA::mutate(FunctionType& objective, const size_t n_offspring_, parameters::Parameters& p)
|
|
53
53
|
{
|
|
54
54
|
CSA::mutate(objective, n_offspring_, p);
|
|
55
55
|
|
|
@@ -77,7 +77,8 @@ namespace mutation
|
|
|
77
77
|
void MSR::adapt(const parameters::Weights &w, std::shared_ptr<matrix_adaptation::Adaptation> adaptation, Population &pop,
|
|
78
78
|
const Population &old_pop, const parameters::Stats &stats, const size_t lamb)
|
|
79
79
|
{
|
|
80
|
-
|
|
80
|
+
const auto n = std::min(pop.n_finite(), old_pop.n_finite());
|
|
81
|
+
if (n != 0)
|
|
81
82
|
{
|
|
82
83
|
const double lambda = static_cast<double>(lamb);
|
|
83
84
|
const double k = (pop.f.array() < median(old_pop.f)).cast<double>().sum();
|
|
@@ -105,18 +106,23 @@ namespace mutation
|
|
|
105
106
|
const Population &old_pop, const parameters::Stats &stats, const size_t lambda)
|
|
106
107
|
{
|
|
107
108
|
|
|
108
|
-
|
|
109
|
+
const auto n = std::min(pop.n_finite(), old_pop.n_finite());
|
|
110
|
+
if (n != 0)
|
|
109
111
|
{
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
combined
|
|
112
|
+
combined.conservativeResize(n + n);
|
|
113
|
+
combined.head(n) = pop.f.head(n);
|
|
114
|
+
combined.tail(n) = old_pop.f.head(n);
|
|
113
115
|
const auto idx = utils::sort_indexes(combined);
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
const auto oidx = utils::sort_indexes(idx);
|
|
117
|
+
|
|
118
|
+
double delta_r = 0.0;
|
|
119
|
+
for (size_t i = 0; i < n; i++) {
|
|
120
|
+
double r = oidx[i];
|
|
121
|
+
double r_old = oidx[n + i];
|
|
122
|
+
delta_r += (r_old - r);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
const auto z = delta_r / std::pow(n, 2) - succes_ratio;
|
|
120
126
|
s = (1.0 - cs) * s + (cs * z);
|
|
121
127
|
sigma *= std::exp(s / (2.0 - (2.0 / adaptation->dd)));
|
|
122
128
|
}
|
|
@@ -126,15 +132,15 @@ namespace mutation
|
|
|
126
132
|
const Population &old_pop, const parameters::Stats &stats, const size_t lambda)
|
|
127
133
|
{
|
|
128
134
|
|
|
129
|
-
// const double z = ((std::dynamic_pointer_cast<matrix_adaptation::CovarianceAdaptation>(adaptation)->inv_root_C *
|
|
135
|
+
// const double z = ((std::dynamic_pointer_cast<matrix_adaptation::CovarianceAdaptation>(adaptation)->inv_root_C * .Y).colwise().norm().array().pow(2.) - adaptation->dd).matrix() * w.clipped();
|
|
130
136
|
const double z = ((pop.Z).colwise().norm().array().pow(2.) - adaptation->dd).matrix() * w.clipped();
|
|
131
137
|
sigma *= std::exp((cs / std::sqrt(adaptation->dd)) * z);
|
|
132
138
|
}
|
|
133
139
|
void MXNES::adapt(const parameters::Weights &w, std::shared_ptr<matrix_adaptation::Adaptation> adaptation, Population &pop,
|
|
134
140
|
const Population &old_pop, const parameters::Stats &stats, const size_t lambda)
|
|
135
141
|
{
|
|
136
|
-
|
|
137
|
-
{
|
|
142
|
+
const auto n = std::min(pop.n_finite(), old_pop.n_finite());
|
|
143
|
+
if (n != 0) {
|
|
138
144
|
// const auto z = (w.mueff * std::pow((dynamic.inv_root_C * dynamic.dm).norm(), 2)) - dynamic.dd;
|
|
139
145
|
const auto mu = pop.n - lambda;
|
|
140
146
|
const auto dz = (pop.Z.leftCols(mu).array().rowwise() * w.positive.array().transpose()).rowwise().sum().matrix();
|
|
@@ -31,6 +31,7 @@ namespace parameters
|
|
|
31
31
|
Parameters::Parameters(const size_t dim) : Parameters(Settings(dim, {})) {}
|
|
32
32
|
|
|
33
33
|
void Parameters::perform_restart(const std::optional<double>& sigma) {
|
|
34
|
+
|
|
34
35
|
weights = Weights(settings.dim, mu, lambda, settings);
|
|
35
36
|
sampler = sampling::get(settings.dim, settings.modules, lambda);
|
|
36
37
|
|
|
@@ -9,8 +9,13 @@ namespace restart
|
|
|
9
9
|
//! max - min, for the last n elements of a vector
|
|
10
10
|
double ptp_tail(const std::vector<double> &v, const size_t n)
|
|
11
11
|
{
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
const auto na = std::min(v.size(), n);
|
|
13
|
+
if (na == 1) {
|
|
14
|
+
return v[0];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
double min = *std::min_element(v.end() - na, v.end());
|
|
18
|
+
double max = *std::max_element(v.end() - na, v.end());
|
|
14
19
|
return max - min;
|
|
15
20
|
}
|
|
16
21
|
|
|
@@ -42,7 +42,7 @@ namespace sampling
|
|
|
42
42
|
return samples.col(current++);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
Halton::Halton(const size_t d, const
|
|
45
|
+
Halton::Halton(const size_t d, const size_to i) : Sampler(d), seed(i.value_or( rng::random_integer(1, INT_MAX)))
|
|
46
46
|
{
|
|
47
47
|
primes = sieve(std::max(6, static_cast<int>(d)));
|
|
48
48
|
while (primes.size() < d)
|
|
@@ -54,8 +54,8 @@ namespace sampling
|
|
|
54
54
|
{
|
|
55
55
|
Vector res(d);
|
|
56
56
|
for (size_t j = 0; j < d; ++j)
|
|
57
|
-
res(j) = ppf(next(static_cast<int>(
|
|
58
|
-
|
|
57
|
+
res(j) = ppf(next(static_cast<int>(seed), primes[j]));
|
|
58
|
+
seed++;
|
|
59
59
|
return res;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -22,13 +22,17 @@ class TestSampling(unittest.TestCase):
|
|
|
22
22
|
self.sampler_test(sampler, 1.107994899)
|
|
23
23
|
|
|
24
24
|
def test_base_sampler_halton(self):
|
|
25
|
-
sampler = sampling.Halton(5)
|
|
25
|
+
sampler = sampling.Halton(5, 1)
|
|
26
26
|
self.sampler_test(sampler, -3.675096792)
|
|
27
27
|
|
|
28
28
|
def test_base_sampler_sobol(self):
|
|
29
29
|
sampler = sampling.Sobol(5)
|
|
30
30
|
self.sampler_test(sampler, -1.651717819)
|
|
31
31
|
|
|
32
|
+
def test_samplers_are_random(self):
|
|
33
|
+
for sampler in (sampling.Halton, sampling.Sobol):
|
|
34
|
+
samples = np.array([sampler(5)() for _ in range(5)])
|
|
35
|
+
self.assertGreater(abs(samples[0] - samples).sum(), 1e-10)
|
|
32
36
|
|
|
33
37
|
def test_mirrored(self):
|
|
34
38
|
sampler = sampling.Mirrored(sampling.Gaussian(5))
|
modcma-1.0.2/src/c_maes.cpp
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
#include "c_maes.hpp"
|
|
2
|
-
|
|
3
|
-
void ModularCMAES::recombine()
|
|
4
|
-
{
|
|
5
|
-
p->adaptation->m_old = p->adaptation->m;
|
|
6
|
-
p->adaptation->m = p->adaptation->m_old + ((p->pop.X.leftCols(p->mu).colwise() - p->adaptation->m_old) * p->weights.positive);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
bool ModularCMAES::step(std::function<double(Vector)> objective)
|
|
10
|
-
{
|
|
11
|
-
p->mutation->mutate(objective, p->lambda, *p);
|
|
12
|
-
p->selection->select(*p);
|
|
13
|
-
recombine();
|
|
14
|
-
p->adapt();
|
|
15
|
-
if (p->stats.t % (p->settings.dim * 2) == 0 and p->settings.verbose)
|
|
16
|
-
std::cout << p->stats << " (mu, lambda, sigma): " << p->mu
|
|
17
|
-
<< ", " << p->lambda << ", " << p->mutation->sigma << std::endl;
|
|
18
|
-
return !break_conditions();
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
void ModularCMAES::operator()(std::function<double(Vector)> objective)
|
|
22
|
-
{
|
|
23
|
-
while (step(objective));
|
|
24
|
-
|
|
25
|
-
if (p->settings.verbose)
|
|
26
|
-
std::cout << p->stats << std::endl;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
bool ModularCMAES::break_conditions() const
|
|
30
|
-
{
|
|
31
|
-
const auto target_reached = p->settings.target and p->settings.target.value() >= p->stats.fopt;
|
|
32
|
-
const auto budget_used_up = p->stats.evaluations >= p->settings.budget;
|
|
33
|
-
const auto exceed_gens = p->settings.max_generations and p->stats.t >= p->settings.max_generations;
|
|
34
|
-
const auto restart_strategy_criteria = p->settings.modules.restart_strategy == parameters::RestartStrategyType::STOP and
|
|
35
|
-
p->restart->criteria.any;
|
|
36
|
-
return exceed_gens or target_reached or budget_used_up or restart_strategy_criteria;
|
|
37
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|