Ants explore randomly, deposit pheromone on food-to-nest paths, and preferentially follow stronger trails. Evaporation causes weak paths to fade while the shortest route gets reinforced — collective optimization with no central control.