A genetic algorithm-based solution to find an optimal seating permutation of people.
Given a seating layout and a happiness matrix that defines the happiness value between every pair of people, it aims to give an arrangement that maximizes the overall happiness factor of the group.