Fairer Course Allocation: Introducing Yankee Swap Algorithm

Tuesday 25 March 2025


A team of researchers has developed a new algorithm that can efficiently allocate courses to students in a way that maximizes fairness and minimizes waste. The algorithm, called Yankee Swap, uses a clever technique to match students with courses without leaving any seats unfilled.


The problem of course allocation is a challenging one. Universities have limited spaces available for popular courses, while students often want to take multiple classes. Traditionally, this has been solved by using a system of student preferences and course capacities. However, this can lead to inefficiencies and unfairness, as some students may end up taking less desirable courses while others are left without a seat.


Yankee Swap addresses these issues by using a different approach. Rather than matching students with courses based on their individual preferences, the algorithm looks at the collective preferences of all students and tries to find the most efficient way to allocate seats. This involves identifying groups of students who have similar preferences and swapping them with each other to create a more balanced allocation.


The researchers tested Yankee Swap using data from a real university course allocation system, and found that it outperformed existing algorithms in terms of fairness and efficiency. The algorithm was able to reduce the number of empty seats by up to 90%, while also ensuring that students were allocated courses that better matched their preferences.


One of the key benefits of Yankee Swap is its ability to handle large numbers of students and courses. In simulations, the algorithm was able to efficiently allocate seats to over 2,300 students across 230 courses, without leaving any seats unfilled.


The researchers believe that Yankee Swap has the potential to revolutionize the way universities allocate courses. By using a more efficient and fair algorithm, universities can reduce waste and improve student satisfaction. The team is now working on refining the algorithm further, with plans to test it in real-world settings.


Yankee Swap is an important step towards creating a more efficient and equitable course allocation system. As universities continue to grapple with the challenges of managing large numbers of students and courses, this new algorithm could provide a valuable solution.


Cite this article: “Fairer Course Allocation: Introducing Yankee Swap Algorithm”, The Science Archive, 2025.


Course Allocation, Fair, Efficient, Algorithm, Yankee Swap, University, Students, Courses, Preferences, Capacities


Reference: George Bissias, Cyrus Cousins, Paula Navarrete Diaz, Yair Zick, “Deploying Fair and Efficient Course Allocation Mechanisms” (2025).


Leave a Reply