# Results ## Multi-capacity results - **Instances:** ten bases, six from SPPRCLIB and four from Roberti Set 3, at m = 1, 2, 5 and 10 capacity rows. - **Runs:** 600 s each, one at a time, on an AMD Ryzen 9 3950X. - **Branch-and-cut:** cptp after v0.2.0, HiGHS 1.16.0, `capacity_cut_rows=all`, on one thread and on eight. - **PathWyse 1.1.0**, on two threads: `PWDefault` (shipped settings) and `PWBucket` (its settings for cyclic networks). - **Cell:** instances solved of 10, and the shifted geometric mean time (shift 1 s; an unsolved run counts as 600 s). - **Rows:** [`benchmarks/multicap-*.csv`](https://github.com/spoorendonk/cptp/tree/main/benchmarks), one per run; the table and the lines under it are built from them. | m | Branch-and-cut, 1 thread | Branch-and-cut, 8 threads | PathWyse `PWDefault` | PathWyse `PWBucket` | |---|---|---|---|---| | 1 | 9, 27.0 s | 9, 17.0 s | 9, 4.4 s | 9, 3.0 s | | 2 | 9, 25.9 s | 10, 18.4 s | 9, 8.6 s | 10, 6.4 s | | 5 | 9, 28.4 s | 10, 20.8 s | 9, 18.0 s | 8, 29.1 s | | 10 | 9, 28.7 s | 9, 20.3 s | 7, 38.6 s | 5, 56.5 s | - Eight threads make the branch-and-cut 1.4 to 1.6 times faster than one (shifted geometric mean, per m). - Every instance solved by two or more of them gets the same objective from each. - 5 branch-and-cut objectives no PathWyse run confirms: B-n57-k7-20 (m = 1, 5, 10), M-n151-k12-15 (m = 10), P-n76-k4-41 (m = 10); all 5 were rechecked on main with the chain fixing fix (one thread, untimed) and hold, proven optimal. - The branch-and-cut's revision predates the chain fixing fix below, hence the recheck. ## Known issues - **Reduced-cost fixing** could fix out an edge the optimum uses, reporting a suboptimal tour as optimal: v0.1.0 and v0.2.0, fixed on main 2026-11-12. - **Labeling bounds** could come out too high and eliminate edges and nodes of the optimum, with the same effect: v0.1.0 and v0.2.0, fixed on main 2026-11-12. - **Rejected incumbents:** a branch-and-bound node whose integral LP solution had subtours was pruned although that solution was rejected, which could lose the optimum below it and report a suboptimal tour or s–t path as optimal, whichever cuts are enabled: v0.1.0 and v0.2.0, fixed on main 2026-11-12. It is the likely cause of the four `a_sec` rows of `benchmarks/ablation.csv` with a worse objective than every other configuration's (A-n69-k9-42, B-n57-k7-20, E-n76-k14_b and P-n55-k15-88): the last revision before the fix, rerun with the `a_sec` flags over one to 26 random seeds per instance, proved a worse objective on each of the four for at least one seed, and on none with only the fix added. - **Chain fixing** (on by default), once an edge was fixed to 1, could fix out an edge the optimum uses, reporting a suboptimal tour or s–t path as optimal: by default, on a tour when the two edges meet at the depot, and on an s–t path because it read the fixed edge in one direction only; with `all_pairs_bounds=true`, on an s–t path only, because it ended the path at the source instead of the target. v0.1.0, v0.2.0 and main until fixed on 2026-12-01. - **SPI** never added a cut, so every `enable_spi=true` run, `benchmarks/ablation.csv`'s `spi_on` rows included, ran without it: v0.1.0 and v0.2.0, fixed on main 2026-11-18. The preprint's first version (arXiv v1, HiGHS v1.15.0), from before these fixes and not rerun, reports these instances proven optimal within 3600 s (rows in `benchmarks/cptp.csv` and `benchmarks/ablation.csv`): | Set | Instances | Solved | Rate | |---|--:|--:|--:| | SPPRCLIB (45–262 nodes) | 45 | 45 | 100% | | Roberti Set 3 (45–200 nodes) | 31 | 24 | 77% | ## Reproduce ```bash # Multi-capacity table, from the committed benchmarks/multicap-*.csv python3 benchmarks/multicap_table.py # This page's numbers against the committed rows python3 benchmarks/multicap_table.py --check docs/results.md=results,findings,arxiv # Multi-capacity table, rerun on the solver that made the rows: the revision in the CSV's cptp column rev=$(grep -m1 -o -- '-g[0-9a-f]\{7\}' benchmarks/multicap-bc.csv | cut -c3-) git worktree add ../cptp-rerun "$rev" cmake -S ../cptp-rerun -B build-rerun -DCMAKE_BUILD_TYPE=Release && cmake --build build-rerun -j mkdir -p runs # --cpus and taskset (Linux only): the published runs' CPU pinning; use CPUs you have, or drop them python3 benchmarks/run_multicap.py --solve build-rerun/cptp-solve --configs t1 --cpus 0 --out runs/multicap-bc.csv --logs runs/logs python3 benchmarks/run_multicap.py --solve build-rerun/cptp-solve --configs p8 --cpus 0-7 --out runs/multicap-bc.csv --logs runs/logs benchmarks/setup_pathwyse.sh bases="B-n45-k6-54 A-n54-k7-149 B-n57-k7-20 P-n76-k4-41 E-n101-k8-291 M-n151-k12-15 E-n76-k10_a P-n101-k4_a E-n101-k14_b M-n151-k12_a" targets=$(for b in $bases; do find benchmarks/instances -name "$b.*" -o -name "$b-m*"; done) for algo in PWDefault PWBucket; do taskset -c 0,1 benchmarks/run_pathwyse_reference.sh --algo $algo --time-limit 600 --out runs/multicap-$algo.csv --logs runs/logs/$algo $targets done python3 benchmarks/multicap_table.py --bc runs/multicap-bc.csv --pwdefault runs/multicap-PWDefault.csv --pwbucket runs/multicap-PWBucket.csv --check-logs runs/logs ``` `benchmarks/cptp.csv` and `benchmarks/ablation.csv` (a row per run) are the archived output of `benchmarks/run_benchmarks.sh` and `benchmarks/run_ablation.sh`.