There must be a way to do this, but I can't figure it out:
I have some courses that should meet in the same period every day, but I don't wish to restrict which period that is.
For example:
-I need to schedule a course called "English 1"
-It doesn't matter which period of the day it is scheduled, but once a period is chosen for that course it must scheduled in that period across the whole week.
-So, if English 1 is scheduled in, say, 7th period, it must appear in 7th period every day.
- I have other courses that don't meet every day, which I need to fit around those courses that do.
Does this make sense? Can't figure out how to set it up. Thanks.
QuoteThere must be a way to do this, but I can't figure it out:
I have some courses that should meet in the same period every day, but I don't wish to restrict which period that is.
For example:
-I need to schedule a course called "English 1"
-It doesn't matter which period of the day it is scheduled, but once a period is chosen for that course it must scheduled in that period across the whole week.
-So, if English 1 is scheduled in, say, 7th period, it must appear in 7th period every day.
Why can't you use constraint activities same starting hour? It is a bit tedious to add, because you need to add each activity (say, if you have English for 5a, split into 5 per week, then add a constraint with these 5 (sub)activities).
Quote
- I have other courses that don't meet every day, which I need to fit around those courses that do.
I am not sure I understand this requirement.
AHHH, that constraint will help!
As for "fitting coures around others" this is all I meant: I need to develop a schedule like the one shown below. Where Math, Science, History and English meet every day. PE, Art, Music and CS do not. I don't care which period Math is scheduled into, but once it must be in the same period each day.
Does this help and/or change your answer?
Day1 Day2
per1: Math1 Math1
per2: PE1 Art1
per3: Engl1 Engl1
per4: Mus1 CS1
per5: Sci1 Sci1
per6: His1 His1
Thanks so much.
OK, I understand. My previous answer is still good.
Yep. It worked. I misunderstood what "A set of activities has the same starting hour" meant. I assumed it meant that I had to declare which period I wanted a set of activities to start in.
Thanks a lot. Oh, by the way, I LOVE FET.
Thanks for appreciation!
May I ask if it is still the case that one must apply the constraint "same starting hour" for every individual activity that occurs multiple times per week but must start at the same time each day it occurs? Indeed, that will be tedious for 8 subjects and almost 40 groups of students -- I will need to add 320 new constraints, each which involves selecting multiple sub-activities. Or am I missing an easier way?
In spite of this, FET has been a very helpful tool!
Thank you for the appreciation!
If the timetable is the same each day (I presume 8 subject represent the whole working day) you could consider the timetable for a single day. But if there are also other activities which are divided in less than the number of day per week or which may start at different hours, I think you need to go the hard way.
We may discuss this some more, as you wish.
Thanks for your quick response! Yes, last year I just used one day, which solved the problem. However this year we want to add more flexibility to have some classes that are two hours in duration with two days between, and other classes one daily but at the same time each day. I was thinking maybe there could be a button on the activity page that allowed one to quickly add the constraint "same time each day" for each subactivity if the split was greater than 1. :)
I would not like to add this for the official version. However, it should be easy to add a button for a custom version for you, to add all the corresponding same starting hour constraints for all the split activities, if they (the constraints) are not already added.
Let me know.
I would be extremely grateful if you could add the custom button! I would imagine that there would be others that would like this special version too. Please let me know if this is indeed possible, it would be a great help.
Please see http://lalescu.ro/liviu/fet/download/custom/rlbierb/
:)
I added a new version, with a critical crash bug fix.
This looks to be awesome! Thanks SO much! I'll let you know what happens, but it will be a big help to us. I am supporting some schools in the Philippines. They are transitioning to a K-12 system (from K-10), and this will surely assist us in figuring out how to incorporate the new Grade 11 schedule in June of 2016.
Just a follow-up -- the code that you provided is exactly what I needed. Thanks so much!
I am glad it works! :)