Welcome to the Wedding Drama Optimizer π°π€΅ repository.
Your task is to optimize seating arrangements for a wedding using metaheuristics.
In this challenge, you must arrange guests into tables while maximizing the Overall Mood based on the given data. The dataset includes:
- Affinity scores between guests (who likes/dislikes whom). Range: int([-5,5])
 - Couples & Families (who must sit together or can be separated).
 - Social Network Relations (which social circle the guests belong to, relative to the groom's side).
 
In the data folder, you will find:
- data/
guests_120.csvβ Affinity scores for 120 guestscouples.csvβ Seating constraintsfamilies.csvβ Seating constraints with kidssocial_network_120.csvβ Social networks between guests (120 guests)
 
Your task is to maximize the Room Affinity Score (RAS) while also:
- 
Reducing the mean intratable affinity variance (MITAV)
- Reduce large affinity score differences within a table.
 - Encourage balance between high and low-affinity guests.
 
 - 
Encouraging social group clusters in tables (SGC)
 - 
These three scores contribute to the Overall Mood score:
**Overall Mood Score** = 0.6 Γ (RAS) + 0.3 Γ (1/MITAV) + 0.1 Γ (SGC) 
- Affinity scores between guests, denoted as 
Ai,j, represent the degree of liking or disliking between guestiand guestj. The scores generally lie within the rangeAi,j β [β5, 5], with the Despicable score being an exceptional value ofAi,j = β15, which represents strong dislike and is valid within the model's context. - The Affinity scores 
Ai,jandAj,imay not be identical (good or bad relationships are not always reciprocal), but the Despicable score is. - Please be aware that restrictions over Couples & Families separation must be enforced: Couples cannot be separated; Families that are allowed to be separated are properly highlighted.
 - The arrangement of your guests must also fit within these table size constraints:
- 7 seats: 9 tables (max)
 - 8 seats: 9 tables (max)
 - 9 seats: 8 tables (max)
 
 
Any combination of this set of tables is allowed. No empty seats are permitted.