-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMAEvolutionStrategy.properties
60 lines (50 loc) · 3.1 KB
/
CMAEvolutionStrategy.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# This file contains settings for the CMA Evolution Strategy
# readProperties() needs to be called to process this file
# and setFromProperties() can be extended to add more parameters.
#
# Required settings are
# 1) dimension = number of variables. Also method
# setDimension(int) or setInitialX(double[]) or the class
# constructor can be used.
# 2) initialX = initial solution/search point/distribution mean,
# alternatively typicalX can be set
# 3) initialStandardDeviations = standard deviation in each variable.
# Also the method setInitialStandardDeviations() can be used.
#--- Test-Case ---
functionNumber = 50 # function number in class FunctionCollector, read in CMAExample2
functionRotate = 0 # flag
functionAxisRatio = 0 # 0 == default
#--- General ---
dimension 22 # search space dimension, number of (decision) variables
numberOfRestarts = 1 # for CMAExample2.java, restart with increasing pop-size
incPopSizeFactor = 2 # factor for increasing the population size, default=2
randomSeed = -1 # <= 0 sets the seed depending on system time
! randomSeed = 2 # last matching property is used
maxTimeFractionForEigendecomposition = 0.2 # only for >=1 the results will always be reproducible
#---Initialisation: X and StandardDeviation have precedence
initialX = 0.5 # one value or dimension values, overwrites typicalX
! typicalX = 0.5 # overwritten by initialX, initialX=typicalX+Normal(0,initialStandardDeviations^2) otherwise
initialStandardDeviations = 0.3 # one value or dimension values
#--- Termination
! stopFitness = 1e-9 # specific for the given function to be minimized
stopTolFun = 1e-12 # function value range within iteration and of past values
stopTolFunHist = 1e-13 # function value range of 10+30*N/lambda past values
stopTolX = 0.0 # absolute x-changes
stopTolXFactor = 1e-11 # relative to initial stddev
stopTolUpXFactor = 1000 # relative to initial stddev
! stopMaxFunEvals = 33
! stopMaxIter = 100
! stop now # terminate immediately unconditionally (Manual termination)
#--- Strategy parameters
! populationSize = 9
! diagonalCovarianceMatrix = 0 # number of iterations with diagonal covariance matrix, 1 == always diagonal
# -1 invokes 150*dimension/populationSize which might become future default
! cCov = -1 # negative invokes default, zero means CSA
#--- Various
!lowerStandardDeviations = 0 # last number is recycled up to dimension
!upperStandardDeviations = 1 # last number is recycled up to dimension
outputFileNamesPrefix = outcmaes
writeDisplayToFile 1 or 0 # flag whether to save console output from print...() functions to file
maxTimeFractionForWriteToDefaultFiles = 0.05 # might be largely exceeded in the beginning
# negative value means no file writing
checkEigenSystem = 0 # flag, checking requires O(N^3) operations, mainly for debugging purpose