box algorithms

See box for the input/output format and CLI usage of this solver.

Tree search with maximal spaces

This algorithm solves the feasibility and knapsack objectives with a single bin.

It is a tree search algorithm where a block of items is packed at each stage, in a corner of the maximal empty spaces of the bin. The tree search with maximal spaces for rectangle is its two-dimensional version.

See the detailed description.

Dual feasible functions

This algorithm computes a bound for the bin-packing, feasibility and knapsack objectives, for instances with a single bin type.

It is the generalization to three dimensions of the dual feasible functions for rectangle.

See the detailed description.

Static stability and maximum weight above

The static stability constraint is checked on each bin by solving a linear program: the bin is stable if and only if there exist contact forces which balance the weight of each item. The maximum weights above are checked with the same linear program, with an upper bound on the forces on the top face of each item. The tree search algorithms don’t model them; they repair their solutions by letting the items fall, then by removing the items which still can’t be balanced.

See the detailed description.

Trivial bounds

Closed-form bounds, computed for every instance: a volume-based fractional bound for the knapsack objective, a volume-based number of bins for the bin-packing objective, and bounds from the volume and the dimensions of the items for the open dimension objectives.