Instead of solving a problem directly, you can evolve a solution. A population of agents carries “DNA”; the fittest reproduce, their offspring mutate slightly, and over generations the population gets better at the task — here, reaching a target.
Evolutionary heuristics like this were the toolkit of my bachelor's thesis: when a search space is too vast for brute force, you let good-enough solutions breed better ones.