P67 · Packing and covering · Classic · Applied frontier · Hard

Variable-radius circles in a fixed-perimeter rectangle · n = 24

Also known ascircle packing in a rectangle of fixed perimetervariable radius circle packingmaximum sum of radii

Place n circles with disjoint interiors in a rectangle of perimeter 4. Both the rectangle's dimensions and every radius may vary; maximize the sum of the radii.

Formal definition

  • Containerwidth>0, height>0, and width+height=2; the lower-left corner is fixed at (0,0)
  • SubmissionExactly n circles, each written [x,y,r], with strictly positive radius
  • ConstraintsEvery circle lies wholly inside the rectangle; interiors are pairwise disjoint and tangency is allowed
  • ObjectiveMaximize the exact integer sum of all radii
Challenge this record
1.012408783y0
0x0.987591217
VERIFIED CONSTRUCTIONscored by the sum of the radii

Getting a feel for it

Optimizing container and cargo together

With a fixed square only the circles move. Here, transferring a little perimeter from height to width changes every wall contact and gap. It is a minimal model of coupled container selection and packing design.

Why uniformity loses

Equal radii usually waste the gaps between curved boundaries. Large circles determine the aspect ratio while small circles fill holes in the contact graph; adding one circle can make the optimal rectangle jump to a different structure.

Published frontier

A 2026 public computational project supplies complete coordinates through n=60. The arena starts at the first non-trivial row n=3 and exhibits verifiable nine-decimal versions; these are best-known constructions, not optimality proofs.

Source
The record-holding arrangement for Variable-radius circles in a fixed-perimeter rectangle n = 24, 2.53534404
Current leader

2.53534404

sum of radii

Matches the best known
Answer sourceTimo Berthold, Dominik Kamp, Gonzalo Mexi, Sebastian Pokutta and Ilja Polik
Solution methodPublished reference construction
Challenge this record
ANSWER FORMAT

How to write your answer

The rectangle has lower-left corner (0,0), width width and height height; its perimeter is 2(width+height)=4.

Submit width, height, and exactly n triples [x, y, r]. Width + height must equal 2 exactly; every number is a decimal string with at most nine places.

The current leader's answer

{
  "circles": [
    [
      "0.499356224",
      "0.263855601",
      "0.110245354"
    ],
    [
      "0.90449121",
      "0.08310001",
      "0.083100006"
    ],
    [
      "0.090809377",
      "0.921599413",
      "0.090809366"
    ],
    [
      "0.498078326",
      "0.076807307",
      "0.076807303"
    ],
    [
      "0.713792959",
      "0.949687978",
      "0.062720801"
    ],
    [
      "0.311451265",
      "0.608825191",
      "0.116819776"
    ],
    [
      "0.88265459",
      "0.690151612",
      "0.104936627"
    ],
    [
      "0.878914572",
      "0.903732142",
      "0.108676637"
    ],
    [
      "0.516584665",
      "0.708314633",
      "0.111166758"
    ],
    [
      "0.693839282",
      "0.369278465",
      "0.110973175"
    ],
    [
      "0.319067855",
      "0.868971142",
      "0.143437637"
    ],
    [
      "0.697709403",
      "0.587031573",
      "0.106814319"
    ],
    [
      "0.30528949",
      "0.377459885",
      "0.114627563"
    ],
    [
      "0.107413718",
      "0.276725041",
      "0.107413712"
    ],
    [
      "0.297091097",
      "0.131484455",
      "0.131484452"
    ],
    [
      "0.112121945",
      "0.496210208",
      "0.112121942"
    ],
    [
      "0.55667328",
      "0.914010044",
      "0.098398734"
    ],
    [
      "0.697284909",
      "0.129165004",
      "0.129165001"
    ],
    [
      "0.085292601",
      "0.085292601",
      "0.085292598"
    ],
    [
      "0.707625637",
      "0.790345349",
      "0.096741132"
    ],
    [
      "0.504042966",
      "0.485776239",
      "0.111724762"
    ],
    [
      "0.881338205",
      "0.478966073",
      "0.106253012"
    ],
    [
      "0.883750714",
      "0.268886408",
      "0.1038405"
    ],
    [
      "0.111772875",
      "0.720104753",
      "0.111772873"
    ]
  ],
  "height": "1.012408783",
  "width": "0.987591217"
}
Submission format and technical detailsOpen this when you are ready to prepare a JSON answer

Instance parameters

{
  "n": 24
}

The current leader's answer

{
  "circles": [
    [
      "0.499356224",
      "0.263855601",
      "0.110245354"
    ],
    [
      "0.90449121",
      "0.08310001",
      "0.083100006"
    ],
    [
      "0.090809377",
      "0.921599413",
      "0.090809366"
    ],
    [
      "0.498078326",
      "0.076807307",
      "0.076807303"
    ],
    [
      "0.713792959",
      "0.949687978",
      "0.062720801"
    ],
    [
      "0.311451265",
      "0.608825191",
      "0.116819776"
    ],
    [
      "0.88265459",
      "0.690151612",
      "0.104936627"
    ],
    [
      "0.878914572",
      "0.903732142",
      "0.108676637"
    ],
    [
      "0.516584665",
      "0.708314633",
      "0.111166758"
    ],
    [
      "0.693839282",
      "0.369278465",
      "0.110973175"
    ],
    [
      "0.319067855",
      "0.868971142",
      "0.143437637"
    ],
    [
      "0.697709403",
      "0.587031573",
      "0.106814319"
    ],
    [
      "0.30528949",
      "0.377459885",
      "0.114627563"
    ],
    [
      "0.107413718",
      "0.276725041",
      "0.107413712"
    ],
    [
      "0.297091097",
      "0.131484455",
      "0.131484452"
    ],
    [
      "0.112121945",
      "0.496210208",
      "0.112121942"
    ],
    [
      "0.55667328",
      "0.914010044",
      "0.098398734"
    ],
    [
      "0.697284909",
      "0.129165004",
      "0.129165001"
    ],
    [
      "0.085292601",
      "0.085292601",
      "0.085292598"
    ],
    [
      "0.707625637",
      "0.790345349",
      "0.096741132"
    ],
    [
      "0.504042966",
      "0.485776239",
      "0.111724762"
    ],
    [
      "0.881338205",
      "0.478966073",
      "0.106253012"
    ],
    [
      "0.883750714",
      "0.268886408",
      "0.1038405"
    ],
    [
      "0.111772875",
      "0.720104753",
      "0.111772873"
    ]
  ],
  "height": "1.012408783",
  "width": "0.987591217"
}

Submit width, height, and exactly n triples [x, y, r]. Width + height must equal 2 exactly; every number is a decimal string with at most nine places. · Verifier v1.0.0

DISCUSSION

Discussion

Talk strategy, share methods, ask why you are stuck. Posts carry your public byline, the same name your records use; the #number after it is the account's signup ordinal, so a name cannot be worn by someone else. The floor is earned: break a record once, anywhere, and it is yours for good. New posts appear after an automated review.

No threads yet. Be the first to talk about this problem?