Classical and Quantum Heuristics for the Binary Paint Shop Problem

Abstract

The Binary Paint Shop Problem (BPSP) is an APX-hard optimisation problem in automotive manufacturing: given a sequence of 2n cars, comprising n distinct models each appearing twice, the task is to decide which of two colours to paint each car so that the two occurrences of each model are painted differently, while minimising consecutive colour swaps. The key performance metric is the paint swap ratio, the average number of colour changes per car, which directly impacts production efficiency and cost. Prior work showed that the Quantum Approximate Optimisation Algorithm (QAOA) at depth p=7 achieves a paint swap ratio of 0.393, outperforming the classical Recursive Greedy (RG) heuristic with an expected ratio of 0.4 [Phys. Rev. A 104, 012403 (2021)]. More recently, the classical Recursive Star Greedy (RSG) heuristic was conjectured to achieve an expected ratio of 0.361. In this study, we develop the theoretical foundations for applying QAOA to BPSP through a reduction of BPSP to weighted MaxCut, and use this framework to benchmark two state-of-the-art low-depth QAOA variants, eXpressive QAOA (XQAOA) and Recursive QAOA (RQAOA), at p=1 (denoted XQAOA1 and RQAOA1), against the strongest classical heuristics known to date. Across instances ranging from 27 to 212 cars, XQAOA1 achieves an average ratio of 0.357, surpassing RQAOA1 and all classical heuristics, including the conjectured performance of RSG. Surprisingly, RQAOA1 shows diminishing performance as size increases: despite using provably optimal QAOA1 parameters at each recursion, it is outperformed by RSG on most 211-car instances and all 212-car instances. To our knowledge, this is the first study to report RQAOA1's performance degradation at scale. In contrast, XQAOA1 remains robust, indicating strong potential to asymptotically surpass all known heuristics.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…