How to Get Ants to Solve a Chess Problem (Op-Ed) By Graham Kendall published 31 January 14 Ants use a certain pattern, or algorithm, to forage for food. This algorithm can be used to tackle many types of problems.