This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Provides 1D bin packing logic.

Project Description
# 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

`python

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 = 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)



Release History

Release History

This version
History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bin_packing_problem-1.0.0-py3.5.egg (12.6 kB) Copy SHA256 Checksum SHA256 3.5 Egg Jul 10, 2016
bin_packing_problem-1.0.0-py3-none-any.whl (6.9 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jul 10, 2016
bin_packing_problem-1.0.0.zip (7.7 kB) Copy SHA256 Checksum SHA256 Source Jul 10, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting