-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
42 lines (38 loc) · 1.63 KB
/
config.ini
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
[algorithms]
#The speed of reducing temperature
TLambda=0.001
#The speed of moving step change
K=1
#The coefficient of moving step
C=1
#Initial temperature
T=5000
#Initial time interval for information of different cores to exchange
R=300
#Initial time for selecting random initial position and step adjustment
InitLoopTime=100
#The time interval to renew the acceptance rate p, larger ItemStoreSize will reduce the accuracy of the final result and enlarge the time consumed, but less ItemStoreSize will make the program unstable
ItemStoreSize=10
[system]
#The number of processors used, using mpiexec -n <CpuNumber> python main.py
CpuNumber=4
[model]
#The dimension of the parameter space
ParameterNumber=4
#The upper barrier of the parameter space, using inf if no barrier defined
RangeHigh=16,36,3.7,4.4
#The lower barrier of the parameter space, using -inf if no barrier defined
RangeLow=6,26,2.7,3.4
#if inf or -inf, at least give a range of [-setrange,setrange]
setrange=1
#The command name of the forward program. Since just writing a small code will enable feathers such as ./a 2 3 4, in which 2,3,4 are parameters input, and the program return a simple value such as 222.344 as the object value that need to be optimized.
CommandName=./test/exec/d
#sensity of different parameters. If you want to move a parameter more quickily, just enlarge the value accordingly
sensity=1,1,0.1,0.1
#Initial moving step, not matter actually
stopMoveStep=0.001,0.001,0.0001,0.0001
#criterio of stoping. Any core which moves its step less than theta for stopRepeateTimes times will cause the program to end
stopRepeateTimes=40
theta=0.01
energyC=1
logFileName=logfile