Ah! That's a pretty much orphan subject yet the world is constantly moving pallets.
For pallet stability you would like to have a convex perimeter so the stretch wrapping maintains the boxes effectively. And also criss-crossing boxes for shear resistance.
But you need to align as much boxes corners as possible to get vertical stiffness.
A solver proposing stacking patterns with these constraints would be outstanding.
Yes right, I'm biased toward single product pallet. Then high mass items should be placed on the first lower pallet, low mass on the pallet put on top of the first one in the truck. The solver starts to be complex.
For pallet stability you would like to have a convex perimeter so the stretch wrapping maintains the boxes effectively. And also criss-crossing boxes for shear resistance.
But you need to align as much boxes corners as possible to get vertical stiffness.
A solver proposing stacking patterns with these constraints would be outstanding.