Files
OpenNest/docs
ajandClaude Opus 5.5 e589731828 perf(irregular): skip tail re-plan stock trials that cannot win
A tail re-plan's decode no longer packs a stock whose least possible net
cost (the whole sheet, less full salvage credit) already exceeds the best
estimate so far and whose cost ratio over the remaining part area cannot
beat the best so far. Later trials only lower the ratio and the estimates,
so the skipped trial could neither be chosen nor change the choice.

On N26-2GT this skips ~60% of the tail re-plans' trials, a fifth of the
ungrouped search's packing time. Layouts and reported plans are unchanged
on every unlimited benchmark job and on the N26-2GT and readme-mixed
oracles; first-nest's unlimited Irregular solve ran in 75 s rather than
100 s. Whole-job variants still pack every trial, since a skipped stock
may have finished the job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 01:36:19 -05:00
..