FET Forum

FET Support (English) => Get Help => Topic started by: ngoctp29121982 on June 29, 2022, 03:49:27 PM

Title: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on June 29, 2022, 03:49:27 PM
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!
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on June 29, 2022, 03:58:03 PM
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.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on June 29, 2022, 04:07:41 PM
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
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on June 29, 2022, 04:13:20 PM
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.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on June 29, 2022, 04:16:58 PM
a custom version is suitable
Thank you Liviu for understanding
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on June 29, 2022, 04:23:04 PM
Liviu, please create a custom version for us, it will not be included in the official FET version
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on June 29, 2022, 04:32:25 PM
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.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on June 29, 2022, 04:35:33 PM
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
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on June 29, 2022, 04:38:58 PM
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.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: saladv on July 01, 2022, 03:08:59 AM
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.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on July 01, 2022, 08:21:55 AM
Please see the attached file.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on July 01, 2022, 09:43:57 AM
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!
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on July 01, 2022, 10:15:57 AM
Hello, ngo,

Your file is too constrained on afternoons, because of your 3rd time constraint.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on July 01, 2022, 10:53:43 AM
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
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on July 01, 2022, 10:58:06 AM
I don't understand. I told you that your file is too constrained.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on July 01, 2022, 11:39:40 AM
I fixed it, but it still doesn't fix the math: 1+1 on 2 different afternoons. Please see the attached file for help
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on July 01, 2022, 12:04:11 PM
Your component number 1, 2, and 3 for math are the same (and also allowing day C7). Please make for component number 3 the same as for component 4 (afternoon allowed). But this way your file is impossible - too constrained.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on July 01, 2022, 03:06:39 PM
so is there any solution? Is there a custom version available? thank you for your help
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on July 01, 2022, 03:07:46 PM
You need to ease (relax) the constraints.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on July 01, 2022, 03:26:01 PM
I dropped the constraints, it worked.
But if there is a custom version, I think it is still much faster. A custom version for me and my friends.
Thank you Liviu
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on July 01, 2022, 03:28:19 PM
The solution I told you (with constraints subactivities preferred times) is the best and the fastest.
Title: Re: Customizable lectures in morning-afternoon mode
Post by: ngoctp29121982 on July 01, 2022, 03:33:38 PM
OK, thank you Liviu
Wishing you good health
Title: Re: Customizable lectures in morning-afternoon mode
Post by: Liviu Lalescu on July 01, 2022, 03:35:08 PM
Thank you, to you too!