Packing Santa's Sleigh
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This is the solution by team alfnie to the Mathworks/Kaggle Packing Santa's Sleigh competition (http://www.kaggle.com/c/packing-santas-sleigh). This solution got 2nd position overall in the competition (and first among the submissions in Matlab)
It implements a simple layer-based approach to three-dimensional bin-packing with a twist on how individual layers are defined.
Inside it you may find useful some simple n-dimensional "largest empty rectangle" (MaxRect) implementation which may aid you in other bin-packing endeavors...
Cite As
Alfonso Nieto-Castanon (2026). Packing Santa's Sleigh (https://www.mathworks.com/matlabcentral/fileexchange/45423-packing-santa-s-sleigh), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
