Skip to content

Commit 08a10c0

Browse files
committed
Adding new experiment
1 parent ed90093 commit 08a10c0

12 files changed

+5082
-3023
lines changed

alg/NSGA_II/conf/experiment_hash_based.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defaults:
22
- experiment: basic
33

44
experiment:
5-
repetitions: 1
5+
repetitions: 10
66
n_iterations: 150
77
problem_names: ["ft06", "ft10", "ft20", "abz7", "abz8", "abz9", "la28", "la40"] #["la21", "la22", "la23", "la24", "la25", "la26", "la27", "la29"]
88
dump_population: False
@@ -15,14 +15,14 @@ quantum_hash_base_encoding:
1515
pop_object:
1616
_target_: qmea.QMEAPopulation
1717
N: 50
18-
reset_fraction: 0 # Clip the bottom % -> reset chromosomes back to 50/50
18+
reset_fraction: 0.1 # Clip the bottom % -> reset chromosomes back to 50/50
1919
activate_schedule: True
2020
decoding_method: "apply_operation_based_bierwirth"
2121
objectives: ["Makespan", "Mean Completion Time"]
2222
individual_type: QChromosomeHashMultisetImprovedEncoding #QChromosomeHashMultisetEncoding
2323
time_log: False
24-
rotation_angles: "[0.1*np.pi, 0, 0.05*np.pi, 0, 0.05*np.pi, 0, 0.1*np.pi, 0]" #"[0.1*np.pi, 0, 0.02*np.pi, 0, 0.02*np.pi, 0, 0.1*np.pi, 0]" # "[0.1*np.pi, 0, 0.05*np.pi, 0, 0.05*np.pi, 0, 0.1*np.pi, 0]"
24+
rotation_angles: "[0.1*np.pi, 0, 0.02*np.pi, 0, 0.02*np.pi, 0, 0.1*np.pi, 0]" #"[0.1*np.pi, 0, 0.02*np.pi, 0, 0.02*np.pi, 0, 0.1*np.pi, 0]" # "[0.1*np.pi, 0, 0.05*np.pi, 0, 0.05*np.pi, 0, 0.1*np.pi, 0]"
2525
group_partitions: 8 # The number of partitions in the population
26-
individual_cfg:
26+
individual_cfg:
2727
mutation_rate: 0.3
2828
reset_frequency: 3

alg/NSGA_II/conf/experiment_improved_random_key.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defaults:
22
- experiment: basic
33

44
experiment:
5-
repetitions: 1
5+
repetitions: 10
66
n_iterations: 150
77
problem_names: ["ft06", "ft10", "ft20", "abz7", "abz8", "abz9", "la28", "la40"] #["la21", "la22", "la23", "la24", "la25", "la26", "la27", "la29"]
88
experiment_id: 2

alg/NSGA_II/experiment_comparison.ipynb

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -998,41 +998,6 @@
998998
"sns_ax_3 = sns.barplot(data=plot_df[\"N Non-dominated solutions\"], x=\"Problem\", y=\"mean\", hue=\"Candidate\", ax=ax[2])\n",
999999
"sns.move_legend(sns_ax_3, \"upper left\", bbox_to_anchor=(1, 1))"
10001000
]
1001-
},
1002-
{
1003-
"cell_type": "code",
1004-
"execution_count": null,
1005-
"metadata": {},
1006-
"outputs": [],
1007-
"source": []
1008-
},
1009-
{
1010-
"cell_type": "code",
1011-
"execution_count": null,
1012-
"metadata": {},
1013-
"outputs": [],
1014-
"source": []
1015-
},
1016-
{
1017-
"cell_type": "code",
1018-
"execution_count": null,
1019-
"metadata": {},
1020-
"outputs": [],
1021-
"source": []
1022-
},
1023-
{
1024-
"cell_type": "code",
1025-
"execution_count": null,
1026-
"metadata": {},
1027-
"outputs": [],
1028-
"source": []
1029-
},
1030-
{
1031-
"cell_type": "code",
1032-
"execution_count": null,
1033-
"metadata": {},
1034-
"outputs": [],
1035-
"source": []
10361001
}
10371002
],
10381003
"metadata": {

best_fronts_la24.png

32.4 KB
Loading

best_fronts_la27.png

30.7 KB
Loading

best_fronts_la28.png

34.3 KB
Loading

best_fronts_la29.png

32.5 KB
Loading

compose.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
services:
2-
classical_jssp:
3-
build:
4-
context: .
5-
volumes:
6-
- ./logdata_2:/QGA_JSSP/logdata_2
7-
cpuset: "0"
8-
command: ./run_classical_experiment.bash
2+
#classical_jssp:
3+
# build:
4+
# context: .
5+
# volumes:
6+
# - ./logdata_2:/QGA_JSSP/logdata_2
7+
# cpuset: "0"
8+
# command: ./run_classical_experiment.bash
99

1010
#classical_jssp_2:
1111
# build:

hypervolume_ft_abz.png

16.6 KB
Loading

hypervolume_la.png

18.3 KB
Loading

0 commit comments

Comments
 (0)