6 October 2026 in SSRN Electronic Journal
We used a Digital Annealer (quantum-inspired) and a Transformer (AI) on a distributor's real orders to minimise container volume and the number of boxes, refined with a constraint-programming solver (CP-SAT) after the initial assignment. Counting containers before the items are placed turned out to be misleading: on a standard benchmark, assignments that only check volume claim 4.00 containers against 5.46 for first-fit decreasing (FFD), and 80–100% of them cannot be built, so a verifier proves that every answer here fits.With our refinement, the result is practically the same whatever builds the initial proposal (a classical heuristic, one package per box, the Transformer or the annealing pipeline): on 923 held-out orders, all ship about 6% less volume than the distributor's real shipments. The starting point changes the time; the Transformer's is fastest on mid-size orders. On the 20 largest held-out orders, four refinements in parallel, two of them with identical packages grouped in rows, double the saving (a version without the Transformer adds 2.3 points on 117 other large orders); rows work because the solver's subproblems become smaller.The final system ships 6.2% less volume than the distributor and, on our hardware, answers faster on nine orders in ten. The annealer, which cannot represent positions, was not the right tool here. We also release DIVERSE3DBPP-v1, a benchmark with a heterogeneous catalogue and a provable optimum; on the standard Martello–Pisinger–Vigo instances, with a single bin type, the refinement ends 4–6% above the best published metaheuristics.