Minimum Square Partridge Packing with MiniZinc

Minimum Square Partridge Packing with MiniZinc
TL;DR: The smallest square that works is 4 × 4 4 \times 4 4 × 4 : 2 2 1 The model starts from a generous board with side 2 T n 2 T_n 2 T n ​ , so 6 6 6 for n = 2 n=2 n = 2 .
Longer Read: In Solving the Partridge Packing Problem using MiniZinc last year, we modeled and solved the classical Partridge packing puzzle. In the original Partridge Packing Problem, the goal is to pack the parts into a square of side T n = n ( n + 1 ) 2 T_n = \frac{n(n+1)}{2} T n ​ = 2 n ( n + 1 ) ​ , the n n n th triangular number.
Read the full story at Zayenz →
Related Skills: Software Design
Wider Reading: Refactoring Guru — Software Designroadmap.sh — Software DesignCoursera — Software Design

💬 0 comments

No comments yet — be the first to say what you think.