Packing Santa's Sleigh

This is the solution by team alfnie to the Mathworks/Kaggle Packing Santa's Sleigh competition
649 Downloads
Updated 6 Feb 2014

View License

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
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Christmas / Winter in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0