About 300,000 results
Open links in new tab
  1. Text packing algorithm - Stack Overflow

    May 10, 2009 · I want to pack a list of words into a buffer, keeping track of the starting position and length of each word. The trick is that I'd like to pack the buffer efficiently by eliminating the …

  2. Python Implementations of Packing Algorithm - Stack Overflow

    For an application I'm working on I need something like a packing algorithm implemented in Python see here for more details. The basic idea is that I have n objects of varying sizes that I …

  3. algorithm - Packing problem - Stack Overflow

    Mar 4, 2014 · Which algorithm should I use? This is called the Bin Packing Problem and is NP-hard, so there is not a simple algorithm to solve it.

  4. javascript - 2D Bin Packing Algorithm - Stack Overflow

    Dec 17, 2018 · I have spent some time researching 2d bin packing algorithm. I have no extensive experience in algorithm especially in advanced math but I can code :) The perfect example of …

  5. Packaging Algorithm - Stack Overflow

    May 7, 2014 · I'm looking for an algorithm to determine the LEAST amount of boxes to package the items into. So far, I've explored the knapsack problem, and although it can come close, I'm …

  6. Exploring rectangle packing algorithms - David Colson’s Blog

    Mar 10, 2020 · Rectangle packing thread on Stack Overflow – Another fascinating thread on stack overflow this time. Fast Optimizing Rectangle Packing Algorithm for Building CSS Sprites – …

  7. algorithm - How can I divide a list of electrical ... - Stack Overflow

    3 days ago · This kind of problem is called the '1D bin packing problem'. You have three bins and each has a capacity of 1/3 the total load, and loads, or items, that need to be packed into this …

  8. Bin packing with load fairness across the bins - Mathematics Stack

    Oct 12, 2022 · First, solve the bin packing problem without regard to fairness. Once you know the minimum number of bins to use, add a constraint limiting you to that many bins, change the …

  9. Bin packing approximation with different bin sizes

    Is there any greedy solution with an approximation bound for the bin-packing problem when we have bins of different size? More formally, there are $n$ bins of size $b_i$ for $i=1,\dotsc,n$, …

  10. algorithms - Bin packing problem and optimality proof

    Sep 29, 2021 · I have come up with the following greedy algorithm: for every weight $w_i$ in $W$, store it in the first bin available that is compatible with the restrictions given. For …

Refresh