COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/marci/experiment/deref_vs_optimization_lenyeg @ 420:a713f8a69cc3

Last change on this file since 420:a713f8a69cc3 was 281:3fefabfd00b7, checked in by marci, 20 years ago

One more experimental study about dereferation vs optimization

File size: 4.6 KB
Line 
1-O0:
2
3marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo < ../flow-1.dim
4edmonds karp demo (physical blocking flow augmentation)...
5elapsed time: u: 1.11s, s: 0.02s, cu: 0s, cs: 0s, real: 1.23456s
6edmonds karp demo (physical blocking flow 1 augmentation)...
7elapsed time: u: 0.78s, s: 0s, cu: 0s, cs: 0s, real: 0.851246s
8edmonds karp demo (on-the-fly blocking flow augmentation)...
9elapsed time: u: 1.02s, s: 0s, cu: 0s, cs: 0s, real: 1.12829s
10edmonds karp demo (on-the-fly shortest path augmentation)...
11elapsed time: u: 76.09s, s: 0.77s, cu: 0s, cs: 0s, real: 127.892s
12
13marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo_1 < ../flow-1.dim
14edmonds karp demo (physical blocking flow augmentation)...
15elapsed time: u: 1.04s, s: 0.01s, cu: 0s, cs: 0s, real: 1.1643s
16edmonds karp demo (physical blocking flow 1 augmentation)...
17elapsed time: u: 0.73s, s: 0s, cu: 0s, cs: 0s, real: 1.29574s
18edmonds karp demo (on-the-fly blocking flow augmentation)...
19elapsed time: u: 0.96s, s: 0.01s, cu: 0s, cs: 0s, real: 1.05265s
20edmonds karp demo (on-the-fly shortest path augmentation)...
21elapsed time: u: 72.65s, s: 0.67s, cu: 0s, cs: 0s, real: 79.8199s
22
23marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo < ../flow-1.dim
24edmonds karp demo (physical blocking flow augmentation)...
25elapsed time: u: 3.04s, s: 0.01s, cu: 0s, cs: 0s, real: 3.09736s
26edmonds karp demo (physical blocking flow 1 augmentation)...
27elapsed time: u: 2.22s, s: 0.02s, cu: 0s, cs: 0s, real: 2.26504s
28edmonds karp demo (on-the-fly blocking flow augmentation)...
29elapsed time: u: 2.88s, s: 0.01s, cu: 0s, cs: 0s, real: 3.03116s
30edmonds karp demo (on-the-fly shortest path augmentation)...
31elapsed time: u: 201.69s, s: 0.08s, cu: 0s, cs: 0s, real: 203.99s
32
33marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo_1 < ../flow-1.dim
34edmonds karp demo (physical blocking flow augmentation)...
35elapsed time: u: 3s, s: 0.04s, cu: 0s, cs: 0s, real: 3.19728s
36edmonds karp demo (physical blocking flow 1 augmentation)...
37elapsed time: u: 2.21s, s: 0.03s, cu: 0s, cs: 0s, real: 2.25725s
38edmonds karp demo (on-the-fly blocking flow augmentation)...
39elapsed time: u: 2.82s, s: 0s, cu: 0s, cs: 0s, real: 2.83294s
40edmonds karp demo (on-the-fly shortest path augmentation)...
41elapsed time: u: 203.39s, s: 0.07s, cu: 0s, cs: 0s, real: 204.401s
42
43-03:
44
45marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo < ../flow-1.dim
46edmonds karp demo (physical blocking flow augmentation)...
47elapsed time: u: 0.36s, s: 0.01s, cu: 0s, cs: 0s, real: 1.13854s
48edmonds karp demo (physical blocking flow 1 augmentation)...
49elapsed time: u: 0.23s, s: 0s, cu: 0s, cs: 0s, real: 0.243452s
50edmonds karp demo (on-the-fly blocking flow augmentation)...
51elapsed time: u: 0.32s, s: 0.01s, cu: 0s, cs: 0s, real: 0.339224s
52edmonds karp demo (on-the-fly shortest path augmentation)...
53elapsed time: u: 26.98s, s: 0.29s, cu: 0s, cs: 0s, real: 32.2458s
54
55marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo_1 < ../flow-1.dim
56edmonds karp demo (physical blocking flow augmentation)...
57elapsed time: u: 0.37s, s: 0.01s, cu: 0s, cs: 0s, real: 0.402523s
58edmonds karp demo (physical blocking flow 1 augmentation)...
59elapsed time: u: 0.22s, s: 0s, cu: 0s, cs: 0s, real: 0.244878s
60edmonds karp demo (on-the-fly blocking flow augmentation)...
61elapsed time: u: 0.32s, s: 0.01s, cu: 0s, cs: 0s, real: 0.353093s
62edmonds karp demo (on-the-fly shortest path augmentation)...
63elapsed time: u: 27.02s, s: 0.34s, cu: 0s, cs: 0s, real: 30.0516s
64
65marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo < ../flow-1.dim
66edmonds karp demo (physical blocking flow augmentation)...
67elapsed time: u: 0.91s, s: 0.01s, cu: 0s, cs: 0s, real: 0.938415s
68edmonds karp demo (physical blocking flow 1 augmentation)...
69elapsed time: u: 0.61s, s: 0.01s, cu: 0s, cs: 0s, real: 0.62244s
70edmonds karp demo (on-the-fly blocking flow augmentation)...
71elapsed time: u: 0.88s, s: 0s, cu: 0s, cs: 0s, real: 0.914984s
72edmonds karp demo (on-the-fly shortest path augmentation)...
73elapsed time: u: 66.55s, s: 0.09s, cu: 0s, cs: 0s, real: 67.5525s
74
75marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo_1 < ../flow-1.dim
76edmonds karp demo (physical blocking flow augmentation)...
77elapsed time: u: 0.85s, s: 0s, cu: 0s, cs: 0s, real: 0.858786s
78edmonds karp demo (physical blocking flow 1 augmentation)...
79elapsed time: u: 0.58s, s: 0.03s, cu: 0s, cs: 0s, real: 0.61541s
80edmonds karp demo (on-the-fly blocking flow augmentation)...
81elapsed time: u: 0.85s, s: 0s, cu: 0s, cs: 0s, real: 0.85847s
82edmonds karp demo (on-the-fly shortest path augmentation)...
83elapsed time: u: 66.71s, s: 0.06s, cu: 0s, cs: 0s, real: 68.0292s
Note: See TracBrowser for help on using the repository browser.