Skip to main content
# 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)



Metadata

Release files for bin-packing-problem 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bin-packing-problem 1.0.0
File Size Uploaded
bin_packing_problem-1.0.0.zip 7.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for bin-packing-problem 1.0.0
File Interpreter ABI Platform
bin_packing_problem-1.0.0-py3.5.egg Legacy Egg format - - Details
bin_packing_problem-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.2 kB

Release files / bin_packing_problem-1.0.0.zip

Download URL bin_packing_problem-1.0.0.zip
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
646876ab4ab85abb920a1fd5fbd7ca1bfd4ee60884a6bc29b9cd0b6cc3e495d6
BLAKE2b-256 checksum
How to use checksums
497095416979ca263d51a2bf39573b4256b51658cc751eb06f8b3a40afa43030
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bin_packing_problem-1.0.0-py3.5.egg

Download URL bin_packing_problem-1.0.0-py3.5.egg
Size 12.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
ffec0bf9e6a9fcfb187692fddc00a9c4f28be509142420b57e54f50722d85663
BLAKE2b-256 checksum
How to use checksums
09a89924ee302c0cf5f2874cf566b56e2afdebf4ad8b7efdce55724fd3139450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bin_packing_problem-1.0.0-py3-none-any.whl

Download URL bin_packing_problem-1.0.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
603b644149cad25e9fcfa665d762a92c16de6c4404bd8213cab56c95f03b7e32
BLAKE2b-256 checksum
How to use checksums
801699b55fdd4ae248ae364a4a3cecd2201c0cede5c0001d6ea537325bda36a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page