Food-carrying ants use collective problem solving to get through or around obstacles

Ants working together to carry a large piece of food get around obstacles by switching between two types of motion: one that favors squeezing the morsel through a hole and another to seek a path around the barrier.