Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Courses not specified in the problem inputs's Courses.xlsx input file #1

Open
talhavawda opened this issue Aug 26, 2021 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@talhavawda
Copy link
Owner

talhavawda commented Aug 26, 2021

Some courses that some students may be doing (enrolled/registered for) may not be in the problem input's Courses.xlsx input file.

CURRENTLY ignoring such a course enrollment/registration for the sectioning process (as we do not have the details about that course's lab sessions and allocated timeslots)

If such a course was not in the Courses.xlsx input file then we shall get a KeyError when trying to get its courseID from the courseIdDict.

The "wvl sem 1 2020 students.xlsx" file given by UKZN CAES which shows the allocations for each of the students, leaves these courses as unallocated and places them in an "unallocated" column as an element of a list.
The issue with the 2020-Sem1-CAES-Wvl dataset is that there is a total of 10561 course requests and only [4853 -old] 6174 requests are valid and will be specified in the input file - the input files only specify the courses that are the first year CAES modules but the students include all students in the university that do at least one of the CAES first year modules - they are not necessarily CAES students..

Consider if should add it in some way (and how we're going to specify the allocated timeslots)

  • If I'm going to add it, then one way of doing it is (inside of printing an error message in the except KeyError: part) add the course to the courseIDDict with the next courseID (so will need a var to keep track of the last used CourseDI)
@talhavawda talhavawda added the enhancement New feature or request label Aug 26, 2021
@talhavawda
Copy link
Owner Author

Sir: one way to do this is to make up dummy data (add the extra modules to the Courses input file with dummy values [section times and capacities] such that the solver works properly on the Students input)

@talhavawda
Copy link
Owner Author

What I can also do is to check before solving (when processing the input) to see if there was any (at least one) case where a course that a student is registered for isnot in the Courses.xlsx input file and give the option to the user of the system to other proceed as is (that course will not be added as a course request in the input data XML file for the solver) or fix the input data (can modify Courses.xlsx to add this course in there) and come back and re-submit the input for processing

@talhavawda
Copy link
Owner Author

This issue comes up in both the InputProcessing.py and ModifiedInputProcessing.py.

To find where it occurs in the files, search for "Issue #1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant