Date: 2025-01-09 01:15:55
Score: 1.5
Natty:
This is my proposal:
- IntVars for each station_rotation_index with a domain in the range of total number of team (index follows the # of team per station)
Constraints:
- for each rotation:
all_different () teams over all stations and indices
- for each station:
all_different () teams over all rotations and indices
- Ensure combinations of teams at each station_rotation are also different:
- auxiliary IntVar representing a unique identifier of the team combination a each station_rotation,
e.g. [1 2 3] becomes 123
-> adjust according to the range of the domain
- all_different () of this unique identifier over all stations and rotations
Reasons:
- Long answer (-0.5):
- No code block (0.5):
- Unregistered user (0.5):
- Low reputation (1):
Posted by: Anonymous