'dinner table'

program :simple program series-4

Arrays of friends and foes:

For example, when there are relationships of liking and disliking each other among the guests invited to a dinner, how should the seating be arranged to avoid conflict?
This problem is almost impossible to solve manually.

But this program provides an answer.
More generally, this program can search for answers to questions in the form "How can elements in contradictory relationships be arranged to minimize problems?"