I have a rectangular map filled with objects of different sizes which each have a corresponding text label that must be placed as close to them as possible while not overlapping with any text labels or objects. The text can also be rotated 90 degrees if needed.
The specific case involves placement of text on a pcb board, where the objects are components and the text labels are there names.
I have started looking into methods such as simulated annealing.
Tzvi S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.