← Latest papers
💻 computer science

Solving the Two-dimensional single stock size Cuting Stock Problem with SAT and MaxSAT

This paper presents a SAT-based framework for the Two-Dimensional Single Stock Size Cutting Stock Problem that utilizes demand expansion, orientation elimination, and various solving strategies to significantly outperform commercial solvers like OR-Tools, CPLEX, and Gurobi in certifying optimality and reducing gaps on benchmark instances.

Original authors: Tuyen Van Kieu, Chi Linh Hoang, Khanh Van To

Published 2026-04-03
📖 5 min read🧠 Deep dive

Original authors: Tuyen Van Kieu, Chi Linh Hoang, Khanh Van To

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you run a massive furniture factory. Every day, you receive a huge order: 50 tables, 30 chairs, and 20 bookshelves. You have a warehouse full of identical, giant sheets of plywood. Your goal? Cut all those items out of the fewest number of sheets possible to save money and reduce waste.

This is the Two-Dimensional Single Stock Size Cutting Stock Problem (2D-CSSP). It sounds simple, but it's a nightmare for computers. Why? Because if you have 50 tables, the computer has to figure out not just where to put them, but which of the 50 identical tables goes where. The number of possibilities explodes like a popcorn machine set to "nuclear."

This paper introduces a new way to solve this puzzle using a type of logic engine called SAT (Boolean Satisfiability). Here is the breakdown of their solution, explained with everyday analogies.

1. The Old Way vs. The New Way

  • The Old Way (Commercial Solvers): Imagine trying to solve this puzzle by asking a super-smart but very literal robot, "Can I fit 50 tables on 10 sheets?" The robot tries, fails, and says "No." Then you ask, "How about 11 sheets?" It tries again. This is slow, and often the robot gets stuck in a loop, unable to prove it found the absolute best answer, only a "good enough" one.
  • The New Way (The SAT Approach): The authors built a custom logic engine that treats the problem like a massive game of Logic Sudoku. Instead of just guessing numbers, the engine builds a set of strict rules (clauses) that describe the physical world: "If Table A is here, Table B cannot be there."

2. The Secret Sauce: "Conditional" Rules

The biggest breakthrough in this paper is how they handle the "copy" problem.

  • The Problem: If you have 50 identical chairs, the computer usually treats them as 50 unique individuals, creating a massive mess of rules.
  • The Solution: The authors realized that you only need to worry about two chairs bumping into each other if they are on the same sheet of plywood.
    • Analogy: Imagine you are organizing a party. You don't need to worry if the guest in Room 1 bumps into the guest in Room 100. You only care if they are in the same room.
    • The new engine only activates the "don't bump" rules when two items are assigned to the same sheet. This keeps the logic clean and manageable.

3. The "Smart" Shortcuts (Symmetry Breaking)

When you have 50 identical chairs, it doesn't matter if Chair #1 is on the left and Chair #2 is on the right, or vice versa. They look the same.

  • The Problem: The computer wastes hours checking both scenarios, thinking they are different.
  • The Solution: The authors added "Symmetry Breaking" rules.
    • Analogy: It's like telling a librarian, "If you have two identical books, always put the one with the lower number on the left shelf." This forces the computer to ignore duplicate scenarios and focus only on unique arrangements.
  • The "Rotation" Trick: They also added a rule that says, "If a chair is too tall to fit sideways, but fits standing up, force it to stand up." This eliminates impossible options before the computer even starts thinking about them.

4. Three Strategies to Find the Best Answer

The team tested three different ways to use their logic engine to find the minimum number of sheets:

  1. The Binary Search (Non-Incremental): Like guessing a number between 1 and 100. "Is it 50? No. Is it 25? Yes. Is it 12?" It's fast but throws away all its work every time it guesses a new number.
  2. The Memory Keeper (Incremental SAT): This is the winner for most cases. Imagine a detective solving a mystery. If they prove a suspect is innocent on Monday, they remember that fact on Tuesday.
    • When the computer tries to fit items on 10 sheets and fails, it learns why it failed (e.g., "These three wide items can never fit together"). When it tries 11 sheets, it remembers that lesson immediately. It doesn't start from scratch; it builds on its previous failures.
  3. The One-Shot Wager (MaxSAT): This tries to solve for the perfect number in a single giant leap. It's powerful but sometimes gets overwhelmed by the sheer size of the math, like trying to eat a whole pizza in one bite.

5. The Results: Who Won?

The authors tested their system against the world's best commercial software (like Google OR-Tools, CPLEX, and Gurobi) using 30 difficult real-world puzzles.

  • The Verdict: Their new SAT-based system was a dominant champion.
    • Proof of Perfection: While the commercial software could often find a "good" solution, they frequently couldn't prove it was the absolute best. The new SAT system proved the optimal solution for 2 to 3 times more puzzles than the commercial giants.
    • Efficiency: It found better solutions with less waste (lower "optimality gap").
    • The Twist: Interestingly, the "Memory Keeper" (Incremental) approach was the best when items couldn't be rotated. But when items could be rotated (making the math much bigger), the "Binary Search" approach actually performed better because the memory became too cluttered with too many rules.

The Takeaway

This paper shows that by treating a manufacturing problem as a pure logic puzzle and using "memory" to learn from past mistakes, we can solve complex cutting problems much faster and more accurately than traditional methods. It's like upgrading from a calculator that just adds numbers to a super-intelligent assistant that understands the story of the puzzle.

In short: They built a smarter, more logical way to cut plywood that saves money, reduces waste, and proves it's the best possible way every single time.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →