Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Challenge: Twist On Bin Packing

by Limbic~Region (Chancellor)
on Apr 07, 2006 at 14:02 UTC ( [id://541867]=note: print w/replies, xml ) Need Help??


in reply to Re: Challenge: Twist On Bin Packing
in thread Challenge: Twist On Bin Packing

aquarium,
I did say exactly what "most inefficient" meant. It means you use the maximum number of bins while filling each one as near to capacity as possible. I think the example was pretty clear even if the wording wasn't.

Cheers - L~R

Replies are listed 'Best First'.
Re^3: Challenge: Twist On Bin Packing
by QM (Parson) on Apr 07, 2006 at 14:59 UTC
    Perhaps a better definition would be "No remaining item can be added to any bin".

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      QM,
      Perhaps I am too close to the problem to see the forest through the trees. I have added an update that says the process involves filling the first bin until no more items will fit and then moving on to the second bin (wash-rinse-repeat) with the goal being to end up with the most bins possible not the least. If this is clearer for people to understand great.

      Cheers - L~R

        Yes, that helps. I realize my earlier post did not add much either.

        Comparing to the degenerate case of 1 item in each bin, and the "most inefficient" and "most bins" tag, I think we might try language like this:

        Cheapskate Criterion: Solution uses the most bins possible, such that no item in the last (partially used) bin can be moved to any other "full" bin without displacing an item alread in that "full" bin.
        [I thought of using "...such that no item from any bin can be moved to any other bin...", but that would probably be more efficient, and not as cheapskatish.]

        -QM
        --
        Quantum Mechanics: The dreams stuff is made of

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://541867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-25 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found