Skip to content

An algorithm to allocate courses to professors as per their preference list and available credits

Notifications You must be signed in to change notification settings

agrawalanshika7/University-Course-Allocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

University Course Allocation

Question Statement : An Application of Graph Optimization-Course Project

The research problem at hand revolves around the optimization of the University Course Assignment System. Within a department, there are "n" faculty members categorised into three distinct groups: "x1," "x2," and "x3." Faculty in each category are assigned different course loads, with "x1" handling 0.5 courses per semester, "x2" taking 1 course per semester, and "x3" managing 1.5 courses per semester.

In this system, faculty members have the flexibility to take multiple courses in a given semester, and conversely, a single course can be assigned to multiple faculty members. When a course is shared between two professors, each professor's load is considered to be 0.5 courses. Moreover, each faculty member maintains a preference list of courses, ordered by their personal preferences, with the most preferred courses appearing at the top. Importantly, there is no prioritisation among faculty members within the same category.

The primary objective of this research problem is to develop an assignment scheme that maximises the number of courses assigned to faculty while aligning with their preferences and the category-based constraints ("x1," "x2," "x3"). The challenge lies in ensuring that a course can only be assigned to a faculty member if it is present in their preference list.

This problem is unique due to the flexibility it offers regarding the number of courses faculty members can take, distinct from typical Assignment problems. Potential modifications may include adjusting the maximum number of courses "y" for each category of professors, instead of requiring exact adherence, or extending the number of professor categories beyond the existing three to devise a more generalised solution.

Solution :

Solution Report : https://drive.google.com/file/d/1KULSXwacj21KtGMQMWcbt5G-AG7DV8NW/view?usp=sharing

File Structure :

  • main.cpp - It contains the main function which has to be executed.

  • input.txt - It contains the input file.

  • output.txt - It contains the output file.

  • TestCases & Outputs.pdf - Contains Sample Test cases.

Limitations :

A limitation of this algorithm is that it may struggle with handling a very large number of courses and professors due to its relatively high time complexity.

About

An algorithm to allocate courses to professors as per their preference list and available credits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages