-
Notifications
You must be signed in to change notification settings - Fork 0
/
qa194.ini
64 lines (50 loc) · 1.26 KB
/
qa194.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[GA]
# Initial population - Random / Load / Seed
init.method: R
init.filename: seed_qa.txt
# Run parameters
run.search: True
run.max_generations: 5000
run.population_size: 500
;run.nreplace: 50
run.nreplace_percent: 25
run.adapt_interval: 0.1
run.adapt_scale: 0.1
#run.random_seed: 1508
run.validate: True
# Selection - Crowd / Roulette
select.method: C
select.crowd_factor: 4
# Fitness scaling - Eval / Linear
scale.method: L
scale.eval_min: 1.0
scale.linear_min: 10.0
scale.linear_max: 100.0
scale.linear_decr: 1.0
# Logging
log.all.interval: 1000
log.all.filename_prefix: pop
log.best.filename: best.log
log.progress.show: True
log.progress.filename: progress.log
[OrderedIndividual]
# Gene definition
osi.num_genes: ${Task:tsp.path_length}
osi.range_low: 0
# Operator parameters
osi.cyclic_path: True
# Operator selection weights - at start & end of run
# varied using run.adapt_interval & run.adapt_scale
osi.randomize_mutation: 0.0 0.0
osi.position_mutation: 1.0 1.0
osi.order_mutation: 1.0 1.0
osi.scramble_mutation: 1.0 1.0
osi.reverse_mutation: 1.0 1.0
osi.position_xover: 1.0 1.0
osi.order_xover: 1.0 1.0
osi.edge_recombination_xover: 1.0 1.0
[Task]
tsp.datafile: qa194.tsp
# set to 1 less than the num of cities
tsp.path_length: 193
tsp.cap: 1e6