ScPo-CompEcon / CourseMatch-archive.jl

CourseMatch implementation at ScPo
Other
1 stars 12 forks source link

Set of feasible courses per student #9

Closed Gegas2231 closed 6 years ago

Gegas2231 commented 6 years ago

The utility maximization problem that the demand function will solve needs as an input a set of feasible courses that a student can register for.

We have a program structure provided by each school. This structure includes mandatory courses per semester and pre-requisites.

Types of requirements: -Some programs require that their students take a specific course, i. e. this course is compulsory for all the students in the program -Some programs require that at least n courses be chosen from a set of courses, i. e. some programs require students to choose 2 courses among the "cours électifs" -Most programs (probably all) require that students enroll for at least X credits each semester

We want a function that takes the set of requirements/constraints and returns a set of feasible courses

First: What data structure provided by the school about the requirements Second: Get a function that takes as an input a student i, the semester and other characteristics. Contrast this with the requirements and return a vector of feasible courses