- python
- graphviz
- pygraphviz
-
install via:
sudo apt install libgraphviz-dev python-pip
pip install pygraphviz
-
<person(s) A>, <number of persons>, <person perference 1>, <person perference 2>, ...
<person(s) B>, <number of persons>, <person perference 1>, <person perference 2>, ...
...
change the lines:
num_tables = 3
places_per_table = 5
in table_planner.py to match your needs.
python table_planner.py
The score represents the number of preferences that was met with a valid solution.
- currently tables all have the same number of seats