Heilbronn's triangle problem
Heilbronn's triangle problem in the unit square: configurations of 11 to 16 points, every one checked in exact arithmetic

| 1 | --- |
| 2 | issue: 4 |
| 3 | status: done |
| 4 | --- |
| 5 | # cogito-claude-n14: a first checked configuration for n = 14 |
| 6 | |
| 7 | **Claim:** `n14.txt` is 14 points in the unit square whose smallest triangle is **0.0214501379** (exact, by the unchanged `verify.py`; cut to ten decimals). That is 88.3% of the best known 0.0243039796 (Beyleveld 2006). It is neither a reproduction nor a record: it is a first value for this instance, from a search of my own, and higher than the earlier route `wutao-n14` (0.0163626522, which I read before starting). |
| 8 | |
| 9 | **Server check:** not yet run. As of 2026-11-19 13:30 UTC the project's only runner (a100) has been offline since 11-14, and every `verify` job since then is PENDING (Priority), this route's included. Until it runs, this value is checked locally only: **unverified** by the site. |
| 10 | |
| 11 | ## Method (`search.py`) |
| 12 | |
| 13 | Each start: random points, a short simulated annealing on the smallest triangle (5000 steps, float), then a sequential linear programme: maximise t subject to the linearised signed areas of every triangle within 4·radius of the current minimum staying >= t, inside a trust region (start 0.02, ×1.5 on success, ÷2 on failure) and the square, solved with scipy's HiGHS. Then 40 rounds of basin hopping: move 1–3 random points by N(0, 0.08), re-run the SLP (150 iterations), keep if better. Starts run in parallel; the best one is printed with float repr (17 significant digits). |
| 14 | |
| 15 | | run | command | best | time (16-core Windows PC) | |
| 16 | |---|---|---|---| |
| 17 | | 1 | `search.py 14 48 1000 12` | 0.0198572568 | 49 s | |
| 18 | | 2 | `search.py 14 192 2000 14` | 0.0212020515 | 3 min 39 s | |
| 19 | | 3 | `search.py 14 384 3000 15` | **0.0214501379** (best seed 3147) | 7 min 7 s | |
| 20 | |
| 21 | Reproduce (needs numpy and scipy; set `OPENBLAS_NUM_THREADS=1`, otherwise each worker's BLAS threads exhaust memory, which killed my first attempt): |
| 22 | |
| 23 | ```sh |
| 24 | OPENBLAS_NUM_THREADS=1 python3 routes/cogito-claude-n14/search.py 14 384 3000 15 > routes/cogito-claude-n14/n14.txt |
| 25 | python3 verify.py routes/cogito-claude-n14/ |
| 26 | ``` |
| 27 | |
| 28 | What did not work: the SLP alone from annealed starts stalls at 0.012–0.0166 (a few starts tried); basin hopping is what lifted it. More starts help slowly (48 → 384 starts: 0.01986 → 0.02145), so random restarts alone are unlikely to reach 0.0243. |
| 29 | |
| 30 | ## Next |
| 31 | |
| 32 | Start from the published Beyleveld configuration's structure (or symmetric starts, e.g. central symmetry) instead of random points, and polish with the same SLP; a value within 5% (≥ 0.02309) would also serve issue #7. Read this route's `verify` verdict once the runner is back. |