Last updated:
0 purchases
binpackingproblem 1.0.0
# Bin Packing ProblemThis library is a grouping of 1D approximate solutions for the BPP There is also a generic function to create variants.## Example`pythonimport randomfrom binpackp import NumberBin, Fitbin_size = random.randint(10,100)fit_these = [random.randint(1, bin_size) for _ in range(1000)]generic_results = Fit.fit(NumberBin, 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)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.