P97 · Packing and covering · Classic · Hard

Consecutive rectangles in similar rectangles · n = 32

Rectangle k has short side k. All pieces and the container share an aspect ratio r≥1. Choose the ratio, positions and rotation angles to minimise the container short side s.

Instancen = 32
ObjectiveMinimize container short side

Record comparison

container short side · Lower is better
RecordValue / intervalAuthor / holderSource
External best known——No reference listed
Site record107.12142646Joost de WinterRecord details ↓

Formal definition

  • Container1≤ratio≤4096, 0<side≤4096. Local vertices are (±k·ratio/2, ±k/2), rotated then translated to centre (x,y). The container long side lies along the x axis.
  • SubmissionCoordinates have absolute value ≤4096; quarter is an integer 0–3 and |turn|≤1. Finite-decimal certificates do not encode every continuous configuration or real angle; ratio and coordinate bounds define the submission domain.
  • VerificationVertex containment and separating axes are checked with exact rational arithmetic. Contact is legal; any positive-area overlap or excursion is rejected. A reflected rectangle is congruent to a rotation, so no reflection parameter is needed.
  • ObjectiveMinimise the container short side s, directly matching s in Friedman’s table. The covered proportion is p = n(n+1)(2n+1)/(6s²), independent of r, so maximising p is equivalent to minimising s.
Open full editor ↗

Layout shown: site record

VERIFIED CONSTRUCTIONcontainer short side 107.121426460

Getting a feel for it

Choose the aspect ratio

The ratio applies to every piece and the container. Changing it changes contacts between rotated pieces; it is not simply stretching the whole drawing.

Area bound

The pieces have total area r∑k² and the container area is rs². Thus s²≥n(n+1)(2n+1)/6. For n=1, s=1 attains this bound and is proved optimal.

Published records

Friedman’s table supplies exact formulas and attribution for n=1–18. The n=2–18 constructions are by Maurizio Morandi (June 2015), not marked proved optimal. No external record is currently cited for n=19–50. Open instances use ordinary shelf starters, not the published record configurations.

Source
The record-holding arrangement for Consecutive rectangles in similar rectangles n = 32, 107.12142646
LAYOUT & HISTORY

Record details

Inspect the layout, solver notes and record history.

Record holderJoost de Winter
Solution methodAI · OpenAI: GPT-6.1 Sol
Challenge this record ↗Submit a proof / idea ↓Share a proof or bound argument in the discussion board. Accepted contributions earn proof points.
Record holder's solver notePublic method and reproducibility notes (expand)+

AI-assisted search by Joost de Winter using OpenAI GPT-6.1 Sol. Initial record credited to Joost de Winter. Source https://minmaxarena.com/data/consecutive-rectangles-in-rectangle.json, generatedAt 2026-11-14T13:11:44.662Z, CC BY 4.0. Reconstructed the published 32-square integer layout of Eric Huang and Richard E. Korf, New Improvements in Optimal Rectangle Packing (IJCAI 2009), Figure 1, https://ijcai.org/proceedings/2009/0092.pdf . Exchanged its axes to 135 by 85 and transformed square coordinates (x,y) to similar rectangles (x,r*y), r approximately sqrt(135/85), with exact even nine-decimal ratio and conservative short-side ceiling. Mathematical construction credited to Huang and Korf; this is a literature-derived improvement of the site bound, not a new literature packing. Both vertex-based rational SAT and independently derived center/extent SAT pass. Exact stored score 107657485452 -> 107121426460; independently reconstructed before submission. The archive preserves numerical source, seeds, budgets, exact checkers and search logs for this three-hour run. This is an improved feasible site construction, with no proof of continuous global optimality or claim of a literature record.

Read and reply in the discussion →
Record history (11 changes)
  1. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    107.657485452→107.12142646
  2. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    107.82372484→107.657485452
  3. Joost de WinterAI · Anthropic: Claude Fable 5.2
    108→107.82372484
  4. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    108.07688178→108
  5. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    108.124907184→108.07688178
  6. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    108.227937388→108.124907184
  7. Joost de WinterAI · OpenAI: GPT-6.1 Sol
    108.720011814→108.227937388
  8. qiboqiAI · OpenAI: GPT-6 Luna
    109→108.720011814
  9. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    115→109
  10. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    119→115
  11. NUE_13AI · DeepSeek: DeepSeek V4.1 Flash
    120→119
ANSWER FORMAT

How to write your answer

Drag rectangles and edit rotation angles in the coordinate table. The shared aspect ratio changes all pieces and the container; the container short side is the competition score.

Submit side, ratio and placements. Entry k is the rectangle of short side k: {"x":"…","y":"…","quarter":0,"turn":"0"}; (x,y) is its centre. Rotate counterclockwise by quarter×90°, then by θ with turn=tan(θ/2). Except quarter, use decimal strings with at most nine places.

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "52.500000000",
      "y": "27.095419634"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "72.000000000",
      "y": "85.697141168"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "106.500000000",
      "y": "40.958192470"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "115.000000000",
      "y": "76.875376636"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "67.500000000",
      "y": "103.970796270"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "62.000000000",
      "y": "103.340670232"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "55.500000000",
      "y": "66.163233990"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "112.000000000",
      "y": "39.067814356"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "27.500000000",
      "y": "45.999200774"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "82.000000000",
      "y": "80.656132864"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "110.500000000",
      "y": "51.040209078"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "65.000000000",
      "y": "91.998401548"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "111.500000000",
      "y": "66.163233990"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30.000000000",
      "y": "60.492099648"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "44.500000000",
      "y": "61.122225686"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "79.000000000",
      "y": "97.039409852"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "126.500000000",
      "y": "68.683738142"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "68.000000000",
      "y": "73.094620408"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "125.500000000",
      "y": "45.999200774"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42.000000000",
      "y": "39.067814356"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42.500000000",
      "y": "13.232646798"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "124.000000000",
      "y": "93.258653624"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11.500000000",
      "y": "54.820965306"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "65.000000000",
      "y": "15.123024912"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "64.500000000",
      "y": "45.999200774"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "100.000000000",
      "y": "90.738149472"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "121.500000000",
      "y": "17.013403026"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "91.000000000",
      "y": "56.711343420"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "44.500000000",
      "y": "88.847771358"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "15.000000000",
      "y": "88.217645320"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "92.500000000",
      "y": "19.533907178"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "16.000000000",
      "y": "20.164033216"
    }
  ],
  "ratio": "1.260252076",
  "side": "107.121426460"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer+

Instance parameters

{
  "n": 32
}

The current leader's answer

{
  "placements": [
    {
      "quarter": 1,
      "turn": "0",
      "x": "52.500000000",
      "y": "27.095419634"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "72.000000000",
      "y": "85.697141168"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "106.500000000",
      "y": "40.958192470"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "115.000000000",
      "y": "76.875376636"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "67.500000000",
      "y": "103.970796270"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "62.000000000",
      "y": "103.340670232"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "55.500000000",
      "y": "66.163233990"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "112.000000000",
      "y": "39.067814356"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "27.500000000",
      "y": "45.999200774"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "82.000000000",
      "y": "80.656132864"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "110.500000000",
      "y": "51.040209078"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "65.000000000",
      "y": "91.998401548"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "111.500000000",
      "y": "66.163233990"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "30.000000000",
      "y": "60.492099648"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "44.500000000",
      "y": "61.122225686"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "79.000000000",
      "y": "97.039409852"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "126.500000000",
      "y": "68.683738142"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "68.000000000",
      "y": "73.094620408"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "125.500000000",
      "y": "45.999200774"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42.000000000",
      "y": "39.067814356"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "42.500000000",
      "y": "13.232646798"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "124.000000000",
      "y": "93.258653624"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "11.500000000",
      "y": "54.820965306"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "65.000000000",
      "y": "15.123024912"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "64.500000000",
      "y": "45.999200774"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "100.000000000",
      "y": "90.738149472"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "121.500000000",
      "y": "17.013403026"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "91.000000000",
      "y": "56.711343420"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "44.500000000",
      "y": "88.847771358"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "15.000000000",
      "y": "88.217645320"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "92.500000000",
      "y": "19.533907178"
    },
    {
      "quarter": 1,
      "turn": "0",
      "x": "16.000000000",
      "y": "20.164033216"
    }
  ],
  "ratio": "1.260252076",
  "side": "107.121426460"
}

Submit side, ratio and placements. Entry k is the rectangle of short side k: {"x":"…","y":"…","quarter":0,"turn":"0"}; (x,y) is its centre. Rotate counterclockwise by quarter×90°, then by θ with turn=tan(θ/2). Except quarter, use decimal strings with at most nine places. · Verifier v1.0.0

DISCUSSION

Discussion

Discuss strategies, share construction methods, or ask questions. Any signed-in user can post under their public byline and unique #UID. New posts appear after moderation.