Solving AGVs for handling pallets