I am trying to design an algorithm to optimally arrange students around a classroom in defined seats.
For each possible pair of students, I have calculated a compatibility score. Desks are not necessarily arranged uniformly, so the geometric distance between them can vary.
I think the optimum outcome is one with the highest sum for the ratio of compatibility to distance for each possible pair.
Any ideas where I should start? I was thinking about selecting the student with the highest average compatibility, putting them in the middle of the room, then assigning students around them. I could possibly produce a number of possible arrangements and solve to find the 'best'.
Thank you
P. S. I am mathematically-literate (a degree in engineering and numerate careers ever since), but it's a while since I did any pure maths, so please have patience if I don't understand you right away.
This may also be a good excuse for me to dip my toes into machine learning...
– Rob Oct 06 '19 at 17:14