skip to navigation
skip to content

bin-packing-problem 1.0.0

Provides 1D bin packing logic.

# Bin Packing Problem

This library is a grouping of 1D approximate solutions for the BPP There is also a generic function to create variants.

## Example


import random

from binpackp import NumberBin, Fit

bin_size = random.randint(10,100)

fit_these = [random.randint(1, bin_size) for _ in range(1000)]
generic_results =, bin_size, fit_these)

first_fit_results = Fit.ff(NumberBin, bin_size, fit_these)

print("General Function: ", generic_results)
print("First Fit Function: ", first_fit_results)

File Type Py Version Uploaded on Size
bin_packing_problem-1.0.0-py3-none-any.whl (md5) Python Wheel py3 2016-07-10 6KB
bin_packing_problem-1.0.0-py3.5.egg (md5) Python Egg 3.5 2016-07-10 12KB (md5) Source 2016-07-10 7KB