Customizable lectures in morning-afternoon mode

Started by ngoctp29121982, June 29, 2022, 03:49:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ngoctp29121982

Hello Liviu
Can you help me create a custom version of the morning-afternoon quiz?
For example: Math 6=2+1+1+1 +1 for 2+1+1+1 in the morning and 1 in the afternoon or English 5 =1+1+1+2 for 1+1+1 in morning 2 and 2 in the afternoon.
Thank you so much!

Liviu Lalescu

#1
Hello, ngo,

There is no need for a new version.

I just thought of it: use the constraint activities preferred times. Add two tags, "Morning" and "Afternoon", and edit subactivities, add "Morning" for those you want in the morning and "Afternoon" for those you need in the afternoon. Then two constraints activities preferred times, one for each tag, should solve the problem.

PS: I moved this topic to the board "Get Help", it is better to be here.

ngoctp29121982

Thank you!
But I have 30 teachers in some subjects, if doing so for each one I have to add four constraints, which takes too much time. Please create a custom version just for me and my friends. We thank you

Liviu Lalescu

Only two constraints activities preferred times: Tag "Morning" preferred in mornings, tag "Afternoon" preferred in afternoons (add X for not allowed slots, there will be half with X and the other half with empty, complementary in each constraint).

Then edit each activity, add tag "Morning". Then edit subactivities, remove tag "Morning" for the last component(s) and add tag "Afternoon".

It is not such a big work, and is better than a custom version.

ngoctp29121982

a custom version is suitable
Thank you Liviu for understanding

ngoctp29121982

Liviu, please create a custom version for us, it will not be included in the official FET version

Liviu Lalescu

It is not a good idea to develop a custom version for this. Please send me your file (and tell me which activities should be morning and afternoon) and I'll show you my method, which should be very fast.

ngoctp29121982

Let me think about it, and then I'll send you the file (and tell you what activities should happen in the morning and afternoon).
Thank you Liviu for everything

Liviu Lalescu

#8
Oh, forgot: you even have a constraint subactivities preferred times, in which you can select the split index of a subactivity. So you don't need to add tags to the subactivities, just 5 constraints for math and 4 constraints for English, in total, for the whole data file.

saladv

Quote from: Liviu Lalescu on June 29, 2022, 04:38:58 PMOh, forgot: you even have a constraint subactivities preferred times, in which you can select the split index of a subactivity. So you don't need to add tags to the subactivities, just 5 constraints for math and 4 constraints for English, in total, for the whole data file.

Can you post example file. I do not understand that.

Liviu Lalescu


ngoctp29121982

Hello Liviu, I can't solve the problem after using Fet
I want7/7 subjects: Math(Toán), Literature(Văn), English(Anh), Biology(Sinh), History(Sử), Physics(Lý), Chemistry(Hoá). Each subject has 1 period in 1 afternoon, and math has 2 periods in 2 different afternoons.
I created the constraint according to the file you attached, but I can't do the math. Please see the attached file for help. Thank you!

Liviu Lalescu

Hello, ngo,

Your file is too constrained on afternoons, because of your 3rd time constraint.

ngoctp29121982

There is a solution for math 5=2+1+1+1
I want to give 1+1 to 2 different afternoons. Is it okay to put x on Friday afternoon

Liviu Lalescu

I don't understand. I told you that your file is too constrained.