Intelligent palletizing that adapts to SKU variability, changing demand, and real-world constraints without reprogramming