Commit 0a74d52
committed
Make bi-objective NDS optimization opt-in and move benchmark to tests #754
- Add native_biobj_sorting parameter to fast_non_dominated_sort (default False)
- Move test_comparison.py from pymoo/ to tests/benchmark/run_native_biobj.py
- Simplify benchmark to use actual pymoo implementation
Benchmark results show minimal performance improvement:
Size Default (ms) Native BiObj (ms) Speedup Correct
50 0.107 0.036 2.98x Yes
100 0.103 0.100 1.03x Yes
500 1.038 1.065 0.98x Yes
1000 3.205 3.094 1.04x Yes
2000 8.615 8.642 1.00x Yes
Not much improvement compared to moocore, thus not enabled by default.
Addresses review comments from @MLopez-Ibanez1 parent 2f048cd commit 0a74d52
File tree
6 files changed
+101
-359
lines changed- pymoo
- functions/standard
- tests/benchmark
- __pycache__
6 files changed
+101
-359
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
15 | 26 | | |
16 | 27 | | |
17 | | - | |
| 28 | + | |
18 | 29 | | |
19 | | - | |
| 30 | + | |
20 | 31 | | |
21 | 32 | | |
22 | 33 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | 39 | | |
| |||
This file was deleted.
Whitespace-only changes.
Binary file not shown.
Binary file not shown.
0 commit comments