Skip to main content

How to put n boxes into a rectangle area.

Project description

Simple bin packaging problem (Same size bins)

There is a bigger rectange R with width W and height H. We are going to fill n same size smaller rectanges r into R. We know the proportion of width and height of r is p. To make the occupied area as big as possible, what is width w of r?

Project details


Download files

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

Source Distribution

nboxes-0.0.2.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

nboxes-0.0.2-py2-none-any.whl (2.8 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page