-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTable6.m
34 lines (24 loc) · 1.17 KB
/
Table6.m
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
%% measure time: start
tic();
%% init
run('create_environment')
ENV = get_environment();
file = 'Table6_validation_5M';
file2 = 'Table12_validation_5M_best_solutions';
file3 = 'Table13_validation_5M_better_solutions';
%% results from instances
instance = 'validation_unbalanced_5';
TP_targets = [0.80 0.90];
algorithms = {'greedy-dec', 'greedy-inc', 'greedy-inc-dec', 'simulated-annealing-dec', 'simulated-annealing-inc'};
algorithms_nice = {'GD', 'GI', 'GID', 'SAD', 'SAI'};
create_results_validation(instance, TP_targets, algorithms, algorithms_nice, ENV);
modify_latex_tables(ENV);
%% copy and rename
copyfile([ENV.OUTPUT_DIR_EXCEL, instance, '.xlsx'], [ENV.PAPER_DIR, file, '.xlsx']);
copyfile([ENV.OUTPUT_DIR_EXCEL, instance, '_best', '.xlsx'], [ENV.PAPER_DIR, file2, '.xlsx']);
copyfile([ENV.OUTPUT_DIR_EXCEL, instance, '_better', '.xlsx'], [ENV.PAPER_DIR, file3, '.xlsx']);
copyfile([ENV.OUTPUT_DIR_LATEX_MOD, instance, '.tex'], [ENV.PAPER_DIR, file, '.tex']);
copyfile([ENV.OUTPUT_DIR_LATEX_MOD, instance, '_best', '.tex'], [ENV.PAPER_DIR, file2, '.tex']);
copyfile([ENV.OUTPUT_DIR_LATEX_MOD, instance, '_better', '.tex'], [ENV.PAPER_DIR, file3, '.tex']);
%% measure time: end
toc();