Started by ChicagoPianoTuner, July 24, 2019, 01:36:30 PM
0 Members and 1 Guest are viewing this topic.
Quote from: ChicagoPianoTuner on July 26, 2019, 05:29:39 PMOK, so here's my understanding:Teachers are days, hours are 7x5 = 35 periods.Students are students.Set activities to duration = 5 if they occupy one full block.If activities occupy less than one block, set duration = 3 or whatever.If an activity occupies more than one block, I need two activities, one with duration = 5, and another with duration = 3 or whatever. Constrain subjects to occur on specific days so if Mr. X and Mrs. Y teach physics then physics classes can only occur on their days.Set activities preferred starting times to begin A1, B1, ... G1 for activities with duration = 5 so they only exist in one block. For shorter duration courses, they have no preferred starting time.I need another activity with no students to represent a course. If there is only one section of that course, e.g. only one biology class for the entire school, then I can make sure the activities for students taking biology have the same starting time as the one above.If there are two sections of a course, like physics above, I need to use one with Mr. X and one with Mrs. Y, and then use activities occupy max time slots from selection = 10 for Mr. X's course, Mrs. Y's, course, and all student activities for that course.My question: how do I ensure that, if 35 students want to take physics, it doesn't end up with 30 in Mr. X's course and 5 in Mrs. Y's course?