Indeed, several years ago there was fairly popular and effective software that used simulated annealing to minimize chip distance between directly connected chips (hence wiring, hence heat dissipation) on circuit boards. It was called "Timberwolf" or some similar marketing inspired name.