FET Forum

Discussions and Chat => Talk It Up! => Topic started by: ngoctp29121982 on August 02, 2022, 10:19:52 AM

Title: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 10:19:52 AM
Hello Liviu!
My school has a natural science subject (Science Science) of 4=1+1+2 corresponding to physics = 1, chemistry = 1 and biology = 2 corresponding to three teachers: A, B and C
I want to create a constraint that the lessons of the week are in order: Physics-Chemistry-Biology respectively on three different days. Does the fet have that constraint? I looked and didn't find it. Can you help me. Thank you!
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 10:26:36 AM
I think you can use two constraints two activities are ordered. And raise min 1 days between activities to 100%.
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 10:46:24 AM
Am I doing this right? Can you see the attached file for me?
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 10:48:59 AM
Attached file I put below
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 11:04:02 AM
please create an example file for me
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 01:32:02 PM
I don't see what is so difficult. I told you very clearly how to solve this. A, B, C, create two activities ordered A, B, then two activities ordered B, C. And min 1 days between A, B, C, 100%.
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 02:30:12 PM
If I separate the Natural Science subject into 3 subjects: Teacher A teaches Physics (1); Teacher B teaches Chemistry (1) and teacher C teaches Biology (2=1+1). I want to give Physics on Monday, Chemistry on Tuesday and born on Wednesday, May 4, and 5?
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 02:33:32 PM
Quote from: ngoctp29121982 on August 02, 2022, 02:30:12 PMIf I separate the Natural Science subject into 3 subjects: Teacher A teaches Physics (1); Teacher B teaches Chemistry (1) and teacher C teaches Biology (2=1+1). I want to give Physics on Monday, Chemistry on Tuesday and born on Wednesday, May 4, and 5?

I don't understand this phrase, it contains maybe some typos? Could you check it, please?
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 02:44:04 PM
If I have Teacher A who teaches Physics (1); Teacher B teaches Chemistry (1) and Teacher C teaches Biology (2=1+1). I want to randomize the Physics and Biochemistry classes in order of days of the week: For example Physics on Monday, Chemistry on Tuesday, Born on Wednesday and Friday....
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 02:54:43 PM
Instead of "Born" do you mean "Biology"?

Add 3 constraints two activities are ordered, and add a min 1 days between activities with 100% for the 4 (sub)activities.

Attached an example.

You might use "two sets of activities are ordered" for easier input, but I am not sure.
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 03:33:51 PM
Thank you Liviu
i will try it
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 04:19:51 PM
I did it, thank you very much. but there are too many constraints because there are many classes that need to be ordered in the physical-chemical-biological subjects. Is there any faster way? for example import data from csv file for example
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 04:32:55 PM
As I told you, maybe 2 constraints two sets of activities are ordered: 1) (All PH, All CH), 2) (All CH, All BI).
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 04:42:25 PM
In my opinion just create a "two groups of activities sorted" constraint to make input easier for the user? Can you fix it in the new version
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 04:53:39 PM
It is there: two sets of activities are ordered.
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 04:59:08 PM
But I can't try it, it seems that the binding is not correct
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 05:06:01 PM
Add two constraints. On the first, the first set is all PH, the second set is all CH. How doesn't it work?
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 05:17:05 PM
Did you see that I added the correct binding? I find it too much manipulation in these two constraints, because there are many classes that have to be arranged in the order Physics-Chemistry-Biology. I attached the file below
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 05:21:30 PM
Not two activities are ordered, but two sets of activities are ordered. It is the constraint below it in the menu.
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 05:31:13 PM
I have attached the file below, do you see it correctly? If not correct, please correct me. thank you
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 05:40:35 PM
No; like in my attachment.
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 06:02:15 PM
Two Constraints is time consuming. Is it possible to use only one binding two groups of ordered operations?
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 06:05:35 PM
You have 3 groups of activities, so you need 2 constraints. I don't understand.
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 06:16:54 PM
Is it okay to use only one "two ordered groups of operations" constraint?
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 06:19:39 PM
No, because you have A, B, C, and to order A>B>C you need 2 constraints.
Title: Re: Lessons in order of the week
Post by: ngoctp29121982 on August 02, 2022, 06:25:46 PM
I understand your. thank you.
Good night
Title: Re: Lessons in order of the week
Post by: Liviu Lalescu on August 02, 2022, 06:32:01 PM
OK, good night!