-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.properties
46 lines (38 loc) · 1.04 KB
/
config.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
problemInstance=demo-data/2.txt
outputDir=../../output/
# "enabled" to compare against test data benchmarks, or enter an integer to compare against, or "disabled"
benchmark=944
#1222
#944
#979
threads=8
terminationThreshold=2.0f
maxIterations=20000
# Epochs define the interval used for printing and for early stopping checks
epochSize=1000
# "PSO" for Particle Swarm Optimization or "ACO" for Ant Colony Optimization
mode=PSO
########################################
############ ACO parameters ############
########################################
colonySize=30
Q=2.0f
rho=0.025f
alpha=10.0f
beta=8.0f
initialPheromones=0.5f
########################################
############ PSO parameters ############
########################################
swarmSize=40
initialInertia=1.2f
minInertia=0.3f
# c1 and c2 constants
localAccelerationConstant=2.0f
globalAccelerationConstant=2.0f
# xmin and xmax are only used for swarm initialization
xmin=0.0f
xmax=6.0f
# vmin and vmax are used both for swarm initialization and during the run
vmin=-6.0f
vmax=6.0f