classses first and then lab

Started by kdsayang, April 02, 2008, 06:27:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kdsayang

Hi,

Another question from me... AGAN. hehe

I'm just wondering whether we can insert the class first and then the lab? Is it possible??

TQ

Liviu Lalescu

Are you suggesting that, given 2 activities A1 and A2, the time of A2 should be after the time of A1? For instance A1 on Tuesday 10:00 and A2 on Thursday 8:00, or A1 on Wednesday 8:00 and A2 on Wednesday 10:00? I mean the day of A2 should be greater than the day of A1 or equal (if equals, the hour of A2 should be greater than hour of A1).

For now, nobody suggested this and I didn't implement such a constraint, but it is a matter of a few hours and I would like to make it. Please let me know if I understood correctly and I can begin work on that. I'll release a temporary version with this constraint, so you can work on your timetable.

kdsayang

OK. u get the most of it... ;D

The A1 (class) should be the first to appear in the time table. After that, the A2 (lab) is after the A1 (class). I think it is better to do the day of A2 after A1 becoz it is not suitable to do A2 after A1 in the same day. Maybe a 1 or 2 day gap is appropriate BUT not the same day....

TQ....

Liviu Lalescu

I think that there is a better solution for you. Just add constraint activity preferred times for A1 to times Monday and Tuesday to each hours and not allowed Wednesday and Thursday. Then add inverse for A2, times Monday and Tuesday not allowed and allowed Wednesday and Thursday.

Please let me know if that is OK.

kdsayang

QuoteI think that there is a better solution for you. Just add constraint activity preferred times for A1 to times Monday and Tuesday to each hours and not allowed Wednesday and Thursday. Then add inverse for A2, times Monday and Tuesday not allowed and allowed Wednesday and Thursday.

Please let me know if that is OK.

I think your idea is great BUT in the long run, if I set activity constraint on all classes (A1 and others) on Monday and Tuesday, then there is more gap (no lab activity) in the Monday and Tuesday in the lab timetable.... such a waste....

Maybe there is no solution to this. I have to assign the activity constraint on each class and lab....

tq

Liviu Lalescu

OK, I'll do a constraint 2 activities ordered, and activity A2 must be after A1 (even on the same day). For your case, you'll add also constraint min n days between activities with 1 day with 100% for activities A1 and A2.

I'll begin work now on constraint 2 activities ordered, please let me know if this is correct.

kdsayang

QuoteOK, I'll do a constraint 2 activities ordered, and activity A2 must be after A1 (even on the same day). For your case, you'll add also constraint min n days between activities with 1 day with 100% for activities A1 and A2.

I'll begin work now on constraint 2 activities ordered, please let me know if this is correct.

Yes.... that is correct... tq

Liviu Lalescu

#7
I implemented time constraint 2 activities ordered. Please check the new snapshot version at:

http://lalescu.ro/liviu/fet/download/test/

Please let me know if everything is OK. I intend to release in a few days version 5..5.4 with this new option.

kdsayang

QuoteI implemented time constraint 2 activities ordered. Please check the new snapshot version at:

http://lalescu.ro/liviu/fet/download/test/

Please let me know if everything is OK. I intend to release in a few days version 5..5.4 with this new option.

I've used the feature and it works perfectly.. hehe... tq... here some screen shot...

Liviu Lalescu


donjon

Concerning, Lecture followed by Lab...

In a limited Lab environment, it is not possible... Labs will crowd into the end of the week and there will not be enough space to satisfy all...

Thinking circularly though, the beginning of a week is the end of the previous week, then the problem disappears.

However, it would be good if it was possible to change the activity tag for each activity in a group to something different...(under the fet interface if you change one in an activity group then all are changed)

In the submission for SHC, which is contributed elsewhere (in contribute your config file) I had to run through the XML file and change the activity tag for Labs for the science classes.... the lectures are in the homerooms, and the lab is in the science lab.... which cannot be done from the fet interface, but which the engine actually allows.

Basically, in creating the config. I do not use the interface at all... I generate the XML in a spreadsheet and then cut and paste the result into a text file. (I cannot bear the time of linking 700+ activities with their instructor and their classes) (but I am rambling)

kdsayang

QuoteConcerning, Lecture followed by Lab...

In a limited Lab environment, it is not possible... Labs will crowd into the end of the week and there will not be enough space to satisfy all...

you're right but it does occur on limited lab space. In my case, I have many lab space/room.. hehe  :)

QuoteConcerning, Lecture followed by Lab...

Thinking circularly though, the beginning of a week is the end of the previous week, then the problem disappears.


Nice idea but what happened to the 1st class for that FIRST (the beginning of a week is the end of the previous week) week?? 2nd class for the FIRST week will be slot for LAB right?? and the the rest will follow...

The 1st class space for that FIRST week will be empty because of this. Actually, It doesn't matter whether the class or the lab is first. The important thing is, It is up to you to arrange It.

Liviu Lalescu

QuoteHowever, it would be good if it was possible to change the activity tag for each activity in a group to something different...(under the fet interface if you change one in an activity group then all are changed)

In the submission for SHC, which is contributed elsewhere (in contribute your config file) I had to run through the XML file and change the activity tag for Labs for the science classes.... the lectures are in the homerooms, and the lab is in the science lab.... which cannot be done from the fet interface, but which the engine actually allows.

Basically, in creating the config. I do not use the interface at all... I generate the XML in a spreadsheet and then cut and paste the result into a text file. (I cannot bear the time of linking 700+ activities with their instructor and their classes) (but I am rambling)

I cannot allow to change the subject tag for a single activity in a group, there is not enough space in the interface. If I permit different activity tags, I have to also permit different subject, students or teachers.

If you have A1 (AT1), A2 (AT1), A3 (AT2) and A3 (AT2), you should add 2 split activities: A1 and A2, and then A3 and A4. You do not need to group all the activities in a larger activity. The only thing is that you have to manually add a constraint min n days between activities for all 4 activities.