wu :: forums
« wu :: forums - Packing rectangles »

Welcome, Guest. Please Login or Register.
May 17th, 2025, 2:01pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   cs
(Moderators: Icarus, ThudnBlunder, towr, SMQ, Eigenray, william wu, Grimbal)
   Packing rectangles
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Packing rectangles  (Read 576 times)
mistaken_id
Junior Member
**





   


Posts: 132
Packing rectangles  
« on: Mar 1st, 2011, 9:15pm »
Quote Quote Modify Modify

Given a set of rectangles, in the form of tuples (height, width).  
 
Pack them, so that none of them overlap, and the result should occupy minimum area. You can rotate the rectangles in 90 degrees.
IP Logged
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7528
Re: Packing rectangles  
« Reply #1 on: Mar 2nd, 2011, 1:53am »
Quote Quote Modify Modify

The resulting area, must it be a rectangle?
Is the size of the rectangle free?
 
Anyway, that looks NP-hard to me.
IP Logged
mistaken_id
Junior Member
**





   


Posts: 132
Re: Packing rectangles  
« Reply #2 on: Mar 2nd, 2011, 10:11am »
Quote Quote Modify Modify

Yes, the resulting area must be a rectangle (biggest rectangle that can fit all the given rectangles, aim is to reduce waste area while forming the big triangle)
 
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board