Re: Geometry: area optimized arrangement of rectangles



"C6L1V@xxxxxxx" <C6L1V@xxxxxxx> wrote:
Jan wrote:
I'm a math rookie, so please pardon my maths terms.

This is my problem:

There are n rectangles of different size. They shall be arranged in a
single 2D area, the 'container'. The rectangle's order within the
container area doesn't matter. The rectangles shall not overlap, the
container should consume as little room as possible (minimal
width/height).

Is there a name/mathematical term for this problem?

It sounds like the "two-dimensional bin-packing problem". Google this
term to turn up numerous papers on aspects of the problem.

_Bin_ packing? I thought that, as the Wikipedia article says, in bin
packing, the objective is to find "a way that minimizes the number of
bins used". But Jan's problem involves, always, just _one_ container.
So I think "bin" is a red herring.

David

If not, could someone please outline an algorithm to solve it?

I'm looking for a Java library that helps solving this problem. Any
idea which library could be of use

Thank you so much for your help,
regards, Jan
.



Relevant Pages

  • Re: Wheres yer bin?
    ... but may explain why this series of gags might not ... "Where's the bin" is understandable with effort, ... that a bin is a container. ... told it by a schoolfriend whose family came from Yorkshire, ...
    (alt.usage.english)
  • Re: PM says "Stop wasting food"
    ... whatever, and bin the container. ... baked beans can now be bought in plastic containers. ... I have a small number of lids that clip onto the top ...
    (uk.legal)
  • Re: PM says "Stop wasting food"
    ... whatever, and bin the container. ... that baked beans can now be bought in plastic containers. ... top of open part-emptied cans, so they can be put in the fridge. ...
    (uk.legal)
  • Re: PM says "Stop wasting food"
    ... whatever, and bin the container. ... I had no idea that baked beans can now be bought in plastic containers. ... That these lids are available to buy presumably indicates that a *few* people don't use the entire tin contents, ...
    (uk.legal)
  • Re: Geometry: area optimized arrangement of rectangles
    ... There are n rectangles of different size. ... single 2D area, the 'container'. ... My impression upon first reading your post was that it was a "packing ... then look up "packing problem". ...
    (sci.math)