| 1 | ------------------------------------------------------------------- |
|---|
| 2 | ./unweighted-bp-gen -red 1000 -blue 1000 -density 2000 -seed 1 |
|---|
| 3 | |
|---|
| 4 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 5 | with 1000 red, 1000 blue nodes, and 2000 edges. |
|---|
| 6 | -------------------------------------------------------- |
|---|
| 7 | Algorithm used Matching size Time |
|---|
| 8 | Hopcroft-Karp 784 0.000851154 |
|---|
| 9 | General matching 784 0.000729084 |
|---|
| 10 | Preflow 784 0.00254011 |
|---|
| 11 | ------------------------------------------------------------------- |
|---|
| 12 | ./unweighted-bp-gen -red 1000 -blue 1000 -density 2000 -seed 10 |
|---|
| 13 | |
|---|
| 14 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 15 | with 1000 red, 1000 blue nodes, and 2000 edges. |
|---|
| 16 | -------------------------------------------------------- |
|---|
| 17 | Algorithm used Matching size Time |
|---|
| 18 | Hopcroft-Karp 784 0.00121498 |
|---|
| 19 | General matching 784 0.000818014 |
|---|
| 20 | Preflow 784 0.00229502 |
|---|
| 21 | ------------------------------------------------------------------- |
|---|
| 22 | ./unweighted-bp-gen -red 1000 -blue 1000 -density 20000 -seed 1 |
|---|
| 23 | |
|---|
| 24 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 25 | with 1000 red, 1000 blue nodes, and 20000 edges. |
|---|
| 26 | -------------------------------------------------------- |
|---|
| 27 | Algorithm used Matching size Time |
|---|
| 28 | Hopcroft-Karp 1000 0.000758171 |
|---|
| 29 | General matching 1000 0.00160909 |
|---|
| 30 | Preflow 1000 0.00195909 |
|---|
| 31 | ------------------------------------------------------------------- |
|---|
| 32 | ./unweighted-bp-gen -red 1000 -blue 1000 -density 20000 -seed 10 |
|---|
| 33 | |
|---|
| 34 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 35 | with 1000 red, 1000 blue nodes, and 20000 edges. |
|---|
| 36 | -------------------------------------------------------- |
|---|
| 37 | Algorithm used Matching size Time |
|---|
| 38 | Hopcroft-Karp 1000 0.000808001 |
|---|
| 39 | General matching 1000 0.00161505 |
|---|
| 40 | Preflow 1000 0.00198388 |
|---|
| 41 | ------------------------------------------------------------------- |
|---|
| 42 | ./unweighted-bp-gen -red 1000 -blue 5000 -density 10000 -seed 1 |
|---|
| 43 | |
|---|
| 44 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 45 | with 1000 red, 5000 blue nodes, and 10000 edges. |
|---|
| 46 | -------------------------------------------------------- |
|---|
| 47 | Algorithm used Matching size Time |
|---|
| 48 | Hopcroft-Karp 1000 0.000248909 |
|---|
| 49 | General matching 1000 0.00155497 |
|---|
| 50 | Preflow 1000 0.00121379 |
|---|
| 51 | ------------------------------------------------------------------- |
|---|
| 52 | ./unweighted-bp-gen -red 1000 -blue 5000 -density 10000 -seed 10 |
|---|
| 53 | |
|---|
| 54 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 55 | with 1000 red, 5000 blue nodes, and 10000 edges. |
|---|
| 56 | -------------------------------------------------------- |
|---|
| 57 | Algorithm used Matching size Time |
|---|
| 58 | Hopcroft-Karp 1000 0.000241995 |
|---|
| 59 | General matching 1000 0.00155282 |
|---|
| 60 | Preflow 1000 0.00119209 |
|---|
| 61 | ------------------------------------------------------------------- |
|---|
| 62 | ./unweighted-bp-gen -red 5000 -blue 1000 -density 10000 -seed 1 |
|---|
| 63 | |
|---|
| 64 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 65 | with 5000 red, 1000 blue nodes, and 10000 edges. |
|---|
| 66 | -------------------------------------------------------- |
|---|
| 67 | Algorithm used Matching size Time |
|---|
| 68 | Hopcroft-Karp 1000 0.000847101 |
|---|
| 69 | General matching 1000 0.00183296 |
|---|
| 70 | Preflow 1000 0.00581908 |
|---|
| 71 | ------------------------------------------------------------------- |
|---|
| 72 | ./unweighted-bp-gen -red 5000 -blue 1000 -density 10000 -seed 10 |
|---|
| 73 | |
|---|
| 74 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 75 | with 5000 red, 1000 blue nodes, and 10000 edges. |
|---|
| 76 | -------------------------------------------------------- |
|---|
| 77 | Algorithm used Matching size Time |
|---|
| 78 | Hopcroft-Karp 1000 0.000849009 |
|---|
| 79 | General matching 1000 0.00151014 |
|---|
| 80 | Preflow 1000 0.00520992 |
|---|
| 81 | ------------------------------------------------------------------- |
|---|
| 82 | ./unweighted-bp-gen -red 5000 -blue 5000 -density 10000 -seed 1 |
|---|
| 83 | |
|---|
| 84 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 85 | with 5000 red, 5000 blue nodes, and 10000 edges. |
|---|
| 86 | -------------------------------------------------------- |
|---|
| 87 | Algorithm used Matching size Time |
|---|
| 88 | Hopcroft-Karp 3948 0.00666904 |
|---|
| 89 | General matching 3948 0.00219297 |
|---|
| 90 | Preflow 3948 0.0174839 |
|---|
| 91 | ------------------------------------------------------------------- |
|---|
| 92 | ./unweighted-bp-gen -red 5000 -blue 5000 -density 10000 -seed 10 |
|---|
| 93 | |
|---|
| 94 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 95 | with 5000 red, 5000 blue nodes, and 10000 edges. |
|---|
| 96 | -------------------------------------------------------- |
|---|
| 97 | Algorithm used Matching size Time |
|---|
| 98 | Hopcroft-Karp 3941 0.00654697 |
|---|
| 99 | General matching 3941 0.0024631 |
|---|
| 100 | Preflow 3941 0.0184231 |
|---|
| 101 | ------------------------------------------------------------------- |
|---|
| 102 | ./unweighted-bp-gen -red 5000 -blue 5000 -density 50000 -seed 1 |
|---|
| 103 | |
|---|
| 104 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 105 | with 5000 red, 5000 blue nodes, and 50000 edges. |
|---|
| 106 | -------------------------------------------------------- |
|---|
| 107 | Algorithm used Matching size Time |
|---|
| 108 | Hopcroft-Karp 5000 0.00720811 |
|---|
| 109 | General matching 5000 0.0129621 |
|---|
| 110 | Preflow 5000 0.011977 |
|---|
| 111 | ------------------------------------------------------------------- |
|---|
| 112 | ./unweighted-bp-gen -red 5000 -blue 5000 -density 50000 -seed 10 |
|---|
| 113 | |
|---|
| 114 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 115 | with 5000 red, 5000 blue nodes, and 50000 edges. |
|---|
| 116 | -------------------------------------------------------- |
|---|
| 117 | Algorithm used Matching size Time |
|---|
| 118 | Hopcroft-Karp 4999 0.00665498 |
|---|
| 119 | General matching 4999 0.0124369 |
|---|
| 120 | Preflow 4999 0.011713 |
|---|
| 121 | ------------------------------------------------------------------- |
|---|
| 122 | ./unweighted-bp-gen -red 10000 -blue 10000 -density 50000 -seed 1 |
|---|
| 123 | |
|---|
| 124 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 125 | with 10000 red, 10000 blue nodes, and 50000 edges. |
|---|
| 126 | -------------------------------------------------------- |
|---|
| 127 | Algorithm used Matching size Time |
|---|
| 128 | Hopcroft-Karp 9934 0.030973 |
|---|
| 129 | General matching 9934 0.0354669 |
|---|
| 130 | Preflow 9934 0.0726831 |
|---|
| 131 | ------------------------------------------------------------------- |
|---|
| 132 | ./unweighted-bp-gen -red 10000 -blue 10000 -density 50000 -seed 10 |
|---|
| 133 | |
|---|
| 134 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 135 | with 10000 red, 10000 blue nodes, and 50000 edges. |
|---|
| 136 | -------------------------------------------------------- |
|---|
| 137 | Algorithm used Matching size Time |
|---|
| 138 | Hopcroft-Karp 9920 0.025604 |
|---|
| 139 | General matching 9920 0.0658369 |
|---|
| 140 | Preflow 9920 0.026011 |
|---|
| 141 | ------------------------------------------------------------------- |
|---|
| 142 | ./unweighted-bp-gen -red 10000 -blue 10000 -density 100000 -seed 1 |
|---|
| 143 | |
|---|
| 144 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 145 | with 10000 red, 10000 blue nodes, and 100000 edges. |
|---|
| 146 | -------------------------------------------------------- |
|---|
| 147 | Algorithm used Matching size Time |
|---|
| 148 | Hopcroft-Karp 10000 0.0252571 |
|---|
| 149 | General matching 10000 0.031213 |
|---|
| 150 | Preflow 10000 0.0406179 |
|---|
| 151 | ------------------------------------------------------------------- |
|---|
| 152 | ./unweighted-bp-gen -red 10000 -blue 10000 -density 100000 -seed 10 |
|---|
| 153 | |
|---|
| 154 | Benchmarking in unweighted case, using a bipartite graph |
|---|
| 155 | with 10000 red, 10000 blue nodes, and 100000 edges. |
|---|
| 156 | -------------------------------------------------------- |
|---|
| 157 | Algorithm used Matching size Time |
|---|
| 158 | Hopcroft-Karp 9999 0.0199139 |
|---|
| 159 | General matching 9999 0.0558238 |
|---|
| 160 | Preflow 9999 0.038918 |
|---|
| 161 | |
|---|
| 162 | |
|---|
| 163 | ----------------------------------------------------------------------------------------------- |
|---|
| 164 | ./weighted-bp-gen -red 1000 -blue 1000 -density 2000 -minweight 10 -maxweight 1000 -seed 1 |
|---|
| 165 | |
|---|
| 166 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 167 | with 1000 red, 1000 blue nodes and 2000 edges |
|---|
| 168 | -------------------------------------------------------- |
|---|
| 169 | Algorithm used Maximum weight Time |
|---|
| 170 | Bipartite matching 472576 0.000921011 |
|---|
| 171 | General matching 472576 0.00331783 |
|---|
| 172 | ----------------------------------------------------------------------------------------------- |
|---|
| 173 | ./weighted-bp-gen -red 1000 -blue 1000 -density 2000 -minweight 10 -maxweight 1000 -seed 10 |
|---|
| 174 | |
|---|
| 175 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 176 | with 1000 red, 1000 blue nodes and 2000 edges |
|---|
| 177 | -------------------------------------------------------- |
|---|
| 178 | Algorithm used Maximum weight Time |
|---|
| 179 | Bipartite matching 490695 0.000863791 |
|---|
| 180 | General matching 490695 0.003304 |
|---|
| 181 | ----------------------------------------------------------------------------------------------- |
|---|
| 182 | ./weighted-bp-gen -red 1000 -blue 1000 -density 20000 -minweight 10 -maxweight 1000 -seed 1 |
|---|
| 183 | |
|---|
| 184 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 185 | with 1000 red, 1000 blue nodes and 20000 edges |
|---|
| 186 | -------------------------------------------------------- |
|---|
| 187 | Algorithm used Maximum weight Time |
|---|
| 188 | Bipartite matching 914524 0.0185199 |
|---|
| 189 | General matching 914524 0.0252349 |
|---|
| 190 | ----------------------------------------------------------------------------------------------- |
|---|
| 191 | ./weighted-bp-gen -red 1000 -blue 1000 -density 20000 -minweight 10 -maxweight 1000 -seed 10 |
|---|
| 192 | |
|---|
| 193 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 194 | with 1000 red, 1000 blue nodes and 20000 edges |
|---|
| 195 | -------------------------------------------------------- |
|---|
| 196 | Algorithm used Maximum weight Time |
|---|
| 197 | Bipartite matching 919943 0.0174081 |
|---|
| 198 | General matching 919943 0.020571 |
|---|
| 199 | ----------------------------------------------------------------------------------------------- |
|---|
| 200 | ./weighted-bp-gen -red 1000 -blue 5000 -density 10000 -minweight 10 -maxweight 1000 -seed 1 |
|---|
| 201 | |
|---|
| 202 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 203 | with 1000 red, 5000 blue nodes and 10000 edges |
|---|
| 204 | -------------------------------------------------------- |
|---|
| 205 | Algorithm used Maximum weight Time |
|---|
| 206 | Bipartite matching 890836 0.000678062 |
|---|
| 207 | General matching 890836 0.0125511 |
|---|
| 208 | ----------------------------------------------------------------------------------------------- |
|---|
| 209 | ./weighted-bp-gen -red 1000 -blue 5000 -density 10000 -minweight 10 -maxweight 1000 -seed 10 |
|---|
| 210 | |
|---|
| 211 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 212 | with 1000 red, 5000 blue nodes and 10000 edges |
|---|
| 213 | -------------------------------------------------------- |
|---|
| 214 | Algorithm used Maximum weight Time |
|---|
| 215 | Bipartite matching 897412 0.000607967 |
|---|
| 216 | General matching 897412 0.012522 |
|---|
| 217 | ----------------------------------------------------------------------------------------------- |
|---|
| 218 | ./weighted-bp-gen -red 5000 -blue 1000 -density 10000 -minweight 10 -maxweight 1000 -seed 1 |
|---|
| 219 | |
|---|
| 220 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 221 | with 5000 red, 1000 blue nodes and 10000 edges |
|---|
| 222 | -------------------------------------------------------- |
|---|
| 223 | Algorithm used Maximum weight Time |
|---|
| 224 | Bipartite matching 895469 0.00667906 |
|---|
| 225 | General matching 895469 0.0124631 |
|---|
| 226 | ----------------------------------------------------------------------------------------------- |
|---|
| 227 | ./weighted-bp-gen -red 5000 -blue 1000 -density 10000 -minweight 10 -maxweight 1000 -seed 10 |
|---|
| 228 | |
|---|
| 229 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 230 | with 5000 red, 1000 blue nodes and 10000 edges |
|---|
| 231 | -------------------------------------------------------- |
|---|
| 232 | Algorithm used Maximum weight Time |
|---|
| 233 | Bipartite matching 893040 0.00669312 |
|---|
| 234 | General matching 893040 0.0129621 |
|---|
| 235 | ----------------------------------------------------------------------------------------------- |
|---|
| 236 | ./weighted-bp-gen -red 5000 -blue 5000 -density 10000 -minweight 10 -maxweight 1000 -seed 1 |
|---|
| 237 | |
|---|
| 238 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 239 | with 5000 red, 5000 blue nodes and 10000 edges |
|---|
| 240 | -------------------------------------------------------- |
|---|
| 241 | Algorithm used Maximum weight Time |
|---|
| 242 | Bipartite matching 2383509 0.0071671 |
|---|
| 243 | General matching 2383509 0.02267 |
|---|
| 244 | ----------------------------------------------------------------------------------------------- |
|---|
| 245 | ./weighted-bp-gen -red 5000 -blue 5000 -density 10000 -minweight 10 -maxweight 1000 -seed 10 |
|---|
| 246 | |
|---|
| 247 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 248 | with 5000 red, 5000 blue nodes and 10000 edges |
|---|
| 249 | -------------------------------------------------------- |
|---|
| 250 | Algorithm used Maximum weight Time |
|---|
| 251 | Bipartite matching 2394615 0.00722313 |
|---|
| 252 | General matching 2394615 0.022392 |
|---|
| 253 | ----------------------------------------------------------------------------------------------- |
|---|
| 254 | ./weighted-bp-gen -red 5000 -blue 5000 -density 50000 -minweight 10 -maxweight 1000 -seed 1 |
|---|
| 255 | |
|---|
| 256 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 257 | with 5000 red, 5000 blue nodes and 50000 edges |
|---|
| 258 | -------------------------------------------------------- |
|---|
| 259 | Algorithm used Maximum weight Time |
|---|
| 260 | Bipartite matching 4205491 0.0941398 |
|---|
| 261 | General matching 4205491 0.112351 |
|---|
| 262 | ----------------------------------------------------------------------------------------------- |
|---|
| 263 | ./weighted-bp-gen -red 5000 -blue 5000 -density 50000 -minweight 10 -maxweight 1000 -seed 10 |
|---|
| 264 | |
|---|
| 265 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 266 | with 5000 red, 5000 blue nodes and 50000 edges |
|---|
| 267 | -------------------------------------------------------- |
|---|
| 268 | Algorithm used Maximum weight Time |
|---|
| 269 | Bipartite matching 4197432 0.101236 |
|---|
| 270 | General matching 4197432 0.12102 |
|---|
| 271 | ----------------------------------------------------------------------------------------------- |
|---|
| 272 | ./weighted-bp-gen -red 10000 -blue 10000 -density 50000 -minweight 10 -maxweight 1000 -seed 1 |
|---|
| 273 | |
|---|
| 274 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 275 | with 10000 red, 10000 blue nodes and 50000 edges |
|---|
| 276 | -------------------------------------------------------- |
|---|
| 277 | Algorithm used Maximum weight Time |
|---|
| 278 | Bipartite matching 7029959 0.0417528 |
|---|
| 279 | General matching 7029959 0.130245 |
|---|
| 280 | ----------------------------------------------------------------------------------------------- |
|---|
| 281 | ./weighted-bp-gen -red 10000 -blue 10000 -density 50000 -minweight 10 -maxweight 1000 -seed 10 |
|---|
| 282 | |
|---|
| 283 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 284 | with 10000 red, 10000 blue nodes and 50000 edges |
|---|
| 285 | -------------------------------------------------------- |
|---|
| 286 | Algorithm used Maximum weight Time |
|---|
| 287 | Bipartite matching 7056257 0.0420868 |
|---|
| 288 | General matching 7056257 0.129265 |
|---|
| 289 | ----------------------------------------------------------------------------------------------- |
|---|
| 290 | ./weighted-bp-gen -red 10000 -blue 10000 -density 100000 -minweight 10 -maxweight 1000 -seed 1 |
|---|
| 291 | |
|---|
| 292 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 293 | with 10000 red, 10000 blue nodes and 100000 edges |
|---|
| 294 | -------------------------------------------------------- |
|---|
| 295 | Algorithm used Maximum weight Time |
|---|
| 296 | Bipartite matching 8396190 0.277562 |
|---|
| 297 | General matching 8396190 0.37123 |
|---|
| 298 | ----------------------------------------------------------------------------------------------- |
|---|
| 299 | ./weighted-bp-gen -red 10000 -blue 10000 -density 100000 -minweight 10 -maxweight 1000 -seed 10 |
|---|
| 300 | |
|---|
| 301 | Benchmarking on weighted bipartite matching problem on a graph |
|---|
| 302 | with 10000 red, 10000 blue nodes and 100000 edges |
|---|
| 303 | -------------------------------------------------------- |
|---|
| 304 | Algorithm used Maximum weight Time |
|---|
| 305 | Bipartite matching 8393092 0.254069 |
|---|
| 306 | General matching 8393092 0.370639 |
|---|