Oriel — AI & technology worth noticing, every day.

Minimum Square Partridge Packing with MiniZinc

Web page · https://zayenz.se/blog/post/minimizing-partridge-packing

First seen by Oriel on .

AI summary

The post models minimum-square Partridge packing in MiniZinc and compares solver search strategies, showing how search order and learned constraints affect solution quality and proof time.

  • The model places the parts on a board twice the triangular-number side, minimizes the largest occupied coordinate, and uses an at-most-fill constraint while the square has slack.
  • For n=2 through 7, the optimum is one more than the area-based lower bound; at n=8 and n=9, exact tilings reach that bound.
  • On n=6, Chuffed, CP-SAT, Huub, and Pumpkin prove the optimum within a second, while Gecode finds it quickly but cannot prove it within 300 seconds.
  • At n=10, no tested solver improves below side 56 within five minutes; the post reports that guided Gecode search reaches side 57 in 4.6 seconds.
  • A column-major position variable performed poorly because diffn prunes x and y separately; adding an implied disjunctive constraint over cell strips restores direct occupied-cell pruning and largest-first placement.

#minizinc #constraint programming #optimization #search heuristics

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Lobsters: 11, latest observation ; +10 over observed period since

Comments

Comment count reported by the source.

  • Lobsters: 0, latest observation ; 0 over observed period since

Aliases

SourceExternal IDURL
Lobsterssou4rdhttps://zayenz.se/blog/post/minimizing-partridge-packing/ Read discussion