How do I schedule races in my rowing regatta?

I asked this in the Theoretical Computer Science Stack Exchange, but someone told me this wasn’t theoretical enough, so I’m trying here.

I think I have a Hamilton path finding problem, with a twist. No one asked me to solve this, but I’m trying to do it anyway.

I’m rowing in a regatta tomorrow. There are about forty-two crews in the regatta. Each crew races twice. In each pair of races that a crew races in, the two crews are the same two crews, but they change lanes. So in their first race, A will go against B, and A will be in the inside lane and B will be in the outside lane. In the second race, it will still be A against B, but B will be in the inside lane and A will be in the outside lane. That part really isn’t important.

This is the first important part: there are 42 races. The number of possible orderings of the races is 42!, which is a pretty big number (more than the number of atoms in the human body or number of stars in the universe, but less than the number of atoms in the universe).

This is the second important part: some crews would like to share rowers (some rowers want to be on more than one crew). This is called “subbing” for “substitute rowing” (it arises because some crews have people going on vacation or whatever so they can’t fill the boat and they ask for help from other crews).

This is the third important part: You are not allowed to sub unless six races separate the races you want to participate in. I think this is the most critical piece of information.

How do I solve this, in other words, how do I find an ordering so the most number of crews get the substitute rowers that they want?

I considered mapping this to a Hamilton path finding type problem. I thought, why don’t we make a graph of V vertices, each vertex represents a race. The edges E represent desired subbing relationships. So if there’s an edge between vertices, that means there’s a rower who wants to row in both races. Then take the complement graph and find the Hamilton path in the complement graph. This doesn’t work however, because because finding a Hamilton path in such a graph will not guarantee six races of separation, even if it is available.

One hacky way to find an ordering seems to iterate over all the edges in the graph G that I described. For each edge, assign one vertex to a slot, and then assign the other vertex to the slot six slots away from it. Try to do this for all the edges. I’m not sure that’s optimal, however.

Thanks,

Ben

Here’s a link to a screenshot of our actual regatta schedule for tomorrow, for the first 21 of 42 races. https://imgur.com/a/SKP8rIM

An example issue has already arisen, I’m rowing for teams 33x and 2n in this screenshot, and I would like to row for 4n as well. But I can’t row for 4n because it is too close to my race with 2n.

Update: After thinking about this some more, I’m not sure Hamilton paths are the best way to describe this problem. But I would like some certainty that whatever algorithm I pick is optimal

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật