FET Forum

FET Support (English) => Get Help => Topic started by: Thai Chi Phuong on September 02, 2024, 11:02:22 AM

Title: I need help!
Post by: Thai Chi Phuong on September 02, 2024, 11:02:22 AM
Hello LiViu!
Many schools in Vietnam would be very nice if they had at least 2 cards out of 4 cards N1, N2, N3, N4.
Please help me!
Thank you!
Title: Re: I need help!
Post by: Liviu Lalescu on September 02, 2024, 11:08:13 AM
Hello, Thai Chi Phuong,

Thank you for your suggestion! I will think of it, if it is possible.

But please clarify: teachers, or students? At least 2 tags (minimum 2 tags) out of N1, N2, N3, N4, or at most 2 tags (maximum 2 tags) out of N1, N2, N3, N4? Per day or per real day?

Couldn't this situation be solved with the existing teachers/students activity tag min/max hours daily?
Title: Re: I need help!
Post by: Thai Chi Phuong on September 02, 2024, 11:20:10 AM
Hello LiViu!
I need maximum 2 cards in N1,N2,N3,N4 cards for teachers per day.
Thank you!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 02, 2024, 11:30:44 AM
Hello LiViu!
In Vietnam, schools are divided into 3 levels: Primary level includes grades 1,2,3,4,5; Secondary level includes grades 6,7,8,9; High school level includes grades 10,11,12. If possible, please help us get a maximum of 2 cards from N1,N2,N3,N4,N5 in one day to limit lesson plan preparation when going to class.
Thank you!
Title: Re: I need help!
Post by: Liviu Lalescu on September 02, 2024, 12:26:41 PM
Hello, Thai Chi Phuong,

Could you please confirm that you use the Mornings-Afternoons mode? Or do you use Official mode?

Also, do I understand correctly that for primary schools you need N1, N2, N3, N4, N5, for secondary schools you need N1, N2, N3, N4, and for high-schools you need N1, N2, N3 (which is already available)? I mean maximum 2 of these per day.
Title: Re: I need help!
Post by: Vũ Ngọc Thành on September 02, 2024, 12:29:12 PM
We want to apply it in Vietnam. In Vietnam, teachers need to teach a maximum of 2 subjects out of 5 subjects
Title: Re: I need help!
Post by: Vũ Ngọc Thành on September 02, 2024, 12:33:12 PM
we use Morning-Afternoon mode
Title: Re: I need help!
Post by: Vũ Ngọc Thành on September 02, 2024, 12:36:22 PM
A teacher must respect a maximum of two activity tags per day from N1, N2, N3,N4   and A teacher must respect a maximum of two activity tags per day from N1, N2, N3,N4,N5
Title: Re: I need help!
Post by: Thai Chi Phuong on September 02, 2024, 12:44:36 PM
Hello LiViu!
We have used the morning and afternoon mode. For each of our levels please help to select maximum 2 cards from N1,N2,N3,N4. and 2 maximum 2 cards from N1,N2,N3,N4,N5; for each teacher's day.
Thank you!
Title: Re: I need help!
Post by: Liviu Lalescu on September 02, 2024, 12:49:29 PM
Hello, Thai Chi Phuong and Vu Ngoc Thanh,

Thank you for the clarification!

I thought of this, it should be possible.

I will certainly do it if we get sponsors for this new feature. My price for this work is 2000 (two thousand) euros.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 02, 2024, 01:13:19 PM
Hello LiViu!
we do this for the fet community in vietnam, investment may not be suitable for us at this time. we need time for this.
Thanks LiViu!
Title: Re: I need help!
Post by: Liviu Lalescu on September 02, 2024, 02:57:53 PM
Hello, Thai Chi Phuong,

Thank you for the information! I will add your suggestion in the TODO, then. Thank you for your suggestion!
Title: Re: I need help!
Post by: Liviu Lalescu on September 04, 2024, 04:13:13 PM
Hello, Thai Chi Phuong and Vu Ngoc Thanh,

I made it. You can see the Snapshots announcement here: https://lalescu.ro/liviu/fet/forum/index.php?topic=6127.0 , or download the snapshot here: https://lalescu.ro/liviu/fet/download/test/

Please test and let me know!

Thank you for your suggestions!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 05, 2024, 01:50:27 AM
Thanks for helping us!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 05, 2024, 02:02:47 AM
Hello Liviu!
Today is a big day for teachers and students in our country. The beginning of a new school year. We consider this new update of yours as the most meaningful gift today. On behalf of the fet community in Vietnam, Thank you! Wish you good health!
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 08:12:29 AM
You are welcome, Thai Chi Phuong!

Please test.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 05, 2024, 09:55:10 AM
Hello Liviu!
A very meaningful gift for us today (05/9/). We tried it and it was great. Thank you so much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 09:57:47 AM
Hello, Thai Chi Phuong,

Thank you!

You are welcome! Happy Anniversary! I wish all educational institutions in Vietnam all the best in the new academic year!
Title: Re: I need help!
Post by: Vũ Ngọc Thành on September 05, 2024, 12:51:36 PM
it's very good, it's even better if there are similar constraints M1,M2,M3 and M1,M2,M3,M4 and M1,M2,M3,M4,M5
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 01:20:16 PM
Could you please give me the practical reason for this M (besides N)? As for usage example?
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 01:58:02 PM
I think I will try to combine and make a single constraint, teacher(s)/students (set) max two activity tags per day/real day from a set of activity tags. Is that OK?
Title: Re: I need help!
Post by: Thai Chi Phuong on September 05, 2024, 02:13:55 PM
Hello Liviu!
Thank you for giving us a great experience with Fet. I think if you group the cards (N1,N2,N3); (N1,N2,N3,N4) or (N1,N2,N3,N4,N5) so that we can all choose to customize k cards (k=1,2,3) out of N cards (N=1,2,3,4,5), it will be more neat and beautiful. Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 02:15:32 PM
I don't know if I can make k=1 or k=3. Is it OK only k=2?
Title: Re: I need help!
Post by: Vũ Ngọc Thành on September 05, 2024, 02:15:53 PM
For example: I want teachers to teach
Maximum 2 subjects out of 5 subjects
and
Maximum 2
class  out of 3
class
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 02:31:58 PM
Is it enough 1 and 2? I don't know if 3 is possible.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 05, 2024, 02:44:25 PM
Hello Liviu!
1 and max 2 is enough.
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 02:45:43 PM
I will try with 1, 2, and maybe 3 max tags per day/real day for teacher(s)/students (set) out of a collection of tags. It won't be easy...
Title: Re: I need help!
Post by: Thai Chi Phuong on September 05, 2024, 02:46:52 PM
Hello Liviu!
If we have more options to teach 1 subject per day/day and choose to teach up to 2 subjects in N (N=1,2,3,4,5) subjects; and more options to teach 1 class per day/day and choose to teach up to 2 classes in M ��(M=1,2,3,4,5) classes, it would be great. I believe you can do it for the Fet community around the world. Love you!
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 02:50:53 PM
Hello, Thai Chi,

I am sorry, but I can only do for tags. Can't you use tags to make it work for subjects and students? I am sure you can.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 05, 2024, 02:57:26 PM
Hello Liviu!
In addition to the maximum 2 card option, can you help us add the option of only 1 card? Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 03:00:32 PM
Yes, max 1 tag and max 2 tags. I think a single constraint, max k tags out of n tags. k can be 1 or 2. n can be anything.
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 06:30:19 PM
I am working and I have hopes it will work out. But it is not so easy.
Title: Re: I need help!
Post by: Liviu Lalescu on September 05, 2024, 08:08:03 PM
It should work, but it is difficult. I did the most difficult part, the generation algorithm part for these constraints, and I hope it will work well. I have the interface part now, but it is very much work and I cannot continue now, I am too tired. Maybe tomorrow (Friday, 6 September) evening I'll have it complete, but it might take longer.
Title: Re: I need help!
Post by: Liviu Lalescu on September 06, 2024, 12:29:33 PM
Hello, Thai Chi and Vu Ngoc,

I hope I have good news: it is done and seems to work OK. I need some more hours to translate into Romanian (thus checking the English), test, and compile for Windows.

I will let you know here when ready.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 06, 2024, 12:39:08 PM
You are awesome! We look forward to hearing from you!
Title: Re: I need help!
Post by: Liviu Lalescu on September 06, 2024, 12:45:32 PM
Thank you! You too had a good suggestion!
Title: Re: I need help!
Post by: Liviu Lalescu on September 06, 2024, 02:37:46 PM
I it ready. Please see the Snapshots announcement or get it from: https://lalescu.ro/liviu/fet/download/test/

Please let me know.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 06, 2024, 04:03:32 PM
Hello Liviu!
It's great, Thank You so much!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 06, 2024, 04:09:53 PM
Hello Liviu!
I tested it and it works great. You are awesome, Thank you so much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 06, 2024, 04:14:40 PM
Hello, Thai Chi,

Thank you! :)

I added a new snapshot, as explained in the Snapshots section. Same download link. Please use it instead.

I hope to release the new official version maybe on Sunday afternoon.
Title: Re: I need help!
Post by: Liviu Lalescu on September 06, 2024, 10:57:23 PM
I added a new snapshot, with minor improvements. If you can, please test.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 06, 2024, 11:34:23 PM
Thank you very much Liviu! I will test it this morning and will let you know soon.!
Title: Re: I need help!
Post by: Liviu Lalescu on September 06, 2024, 11:57:17 PM
Thank you, Thai Chi!

These new constraints are probably useful for many other users, not only in Vietnam. You both had great suggestions!

I apologize for keeping things changing, but it is so hard to find the best code.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 07, 2024, 04:33:09 AM
Hello Liviu!
I tested it and it works very stable, Thank you for giving us a new experience that saves a lot of time. Great software, Thank you very much!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 07, 2024, 05:46:43 AM
Hello Liviu!
One more small detail but I think it will be useful for all of us: In the "Data" tab, information related to "Classes", "Teachers", "Students". If it is not too difficult, can you help us remove many redundant elements in 1 click?
Thank you very much!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 07, 2024, 06:15:46 AM
Hi Liviu!
One more small detail but I think it will be useful for all of us: In the "Data" tab, information related to "Class", "Teacher", "Student"; "Tags". If it is not too difficult, can you help us remove many redundant elements with just 1 click?
Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 07, 2024, 08:28:50 AM
So you want to remove more teachers with a single click? I'll add this in the TODO.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 07, 2024, 08:33:53 AM
Thank you very much!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 07, 2024, 08:38:35 AM
Hello Liviu!
In addition to "Teacher", there are also "Class" and "Card". Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 07, 2024, 08:40:41 AM
Yes, sure, I understood that.
Title: Re: I need help!
Post by: Liviu Lalescu on September 08, 2024, 11:07:57 AM
The new official version was just released! I hope everything is correct and you will benefit from it. Thank you for your good suggestions!

Please let me know if it works OK.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 08, 2024, 12:20:34 PM
Hello Liviu!
We tested it and it works great, but it seems you haven't given us the option to be able to select multiple "teachers", "classes" and "subjects" in the data card. Could you add this in a future update? Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 08, 2024, 12:29:20 PM
Hello, Thai Chi,

I am sorry, but I don't understand. Please try to use the FET terminology in English when you write. By "classes" do you mean "students sets"? By "card" do you mean "activity tag"?

I don't understand. The new constraints are teacher OR all teachers OR a students set OR all students have a maximum of 1 OR 2 max activity tags per day OR real day from a set of activity tags.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 08, 2024, 12:46:11 PM
Hello Liviu1
I'm glad you replied, I mean when I want to delete multiple teachers, classes, or subjects I can't select multiple elements, I can only select each element to delete. Can you add that option for us?
Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 08, 2024, 12:53:44 PM
Hello, Thai Chi,

This suggestion is added in the TODO file (list of suggestions). I will think about it. But it would be great if there were sponsors for this feature.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 12, 2024, 08:43:36 AM
Hello Liviu!
Thank you for letting us experience a great software.!
As I know, in many countries around the world, due to economic shortages, many groups of classes and many teachers still study and teach in ONE specific classroom (music classroom; art classroom; chemistry classroom; ...). In the classroom constraint tag, can you add an option for us: in a day/actual day, can these classrooms only accept one group of classes or only one teacher?
Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 12, 2024, 09:09:07 AM
Hello, Thai Chi,

Thank you for the appreciation!

About your constraint, I am not sure it is possible/feasible. But I will add it in the list of suggestions.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 12, 2024, 02:44:31 PM
Hello Liviu!
Thank You for replying to my message. I think because of the community using this great software-You will make it. I wait for good news from You.
Thank You very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 12, 2024, 03:05:42 PM
Thank you, Thai Chi, for your kind words! I will think of it.

I have one request for you: if you could send me a fet file which uses (intensively) the new constraint teachers/students max 1 or 2 activity tags per (real) day. I would like to check the efficiency. I made some tests for myself, but I would like to double-check.

If the file is private, you can send to my email address.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 12, 2024, 04:21:18 PM
Hello Liviu!
This is the fet file I created so that each day only one group of students is in a multi-group classroom, but the process of creating it requires many other stages. I want to do the same for teachers, and I want the process of creating it to be simpler. I think You will do well with that.
Thank You very much!
https://drive.google.com/file/d/1j44sHMDZ5Ko5-Y1KRdZ_l0O-vn1AU_Aj/view?usp=drive_link
Title: Re: I need help!
Post by: Liviu Lalescu on September 12, 2024, 05:00:29 PM
Hello, Thai Chi,

Actually, I meant something else, but nevermind!

For your proposal, can't you use the constraint of type activities same starting day (for FET days) or max 0 days between activities (for real days)? I saw these are the conditions to make a timetable like yours above.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 12, 2024, 05:14:50 PM
Hello Liviu!
You are right, Liviu. But since I don't have the option to have a real day/day in a shared classroom for only a group of students or a teacher, I have to use such constraints. Thanks for understanding my problem.!
Title: Re: I need help!
Post by: Liviu Lalescu on September 12, 2024, 05:23:33 PM
Hello, Thai Chi,

I am sorry, but I do not understand.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 12, 2024, 05:30:09 PM
I apologize Liviu, because I did not express the problem more clearly for you to understand; I have a common classroom for many groups of classes and many teachers participating in teaching; I want in a day/practice day that classroom only accepts one group of classes or one teacher. Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 12, 2024, 05:38:19 PM
Oh, absolutely no problem, Thai Chi, thank you for clarifying this! I don't know if it is possible to make such a constraint and I don't know if I have the strength to add it.

You say "one group of classes OR one teacher". Should it be "one group of classes AND one teacher"? So each day/real day of a room should contain only one students year AND only one teacher?
Title: Re: I need help!
Post by: Thai Chi Phuong on September 12, 2024, 05:42:35 PM
Hello Liviu!
Thank you for understanding me! You are so smart. I believe you will help me and the community using this great software!
Title: Re: I need help!
Post by: Liviu Lalescu on September 12, 2024, 05:43:58 PM
Thank you for your kind words!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 13, 2024, 01:56:27 AM
Hello Liviu!
Hope I can express so that You understand what we want, Please help us have a command button to do it quickly: In a day/day the music classroom only accepts one teacher (Hong or Hue); The physics classroom only accepts one group of students (6A,6B,6C,6D or 7A,7B,7C,7D or 8A,8B,8C,8D or 9A,9B,9C,9D).
Thank you very much!
https://drive.google.com/file/d/17FIRWwPRN1Yp4aBAKY1N3JNMCIbIL4Wd/view?usp=sharing
Title: Re: I need help!
Post by: Liviu Lalescu on September 13, 2024, 08:08:40 AM
Hello, Thai Chi,

I have a proposal: you will add an activity tag to the activities, and a possible constraint would be: room max 1 activity tag per day/real day from set. Is that good?

I will think of this; but I cannot promise I will do it.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 13, 2024, 08:16:07 AM
Hello Liviu!
That's right Liviu. The room has a maximum of one, or a maximum of two cards from a set of cards active during the day/real day. Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 13, 2024, 08:19:13 AM
For two is much more complicated. Isn't it enough with one?
Title: Re: I need help!
Post by: Thai Chi Phuong on September 13, 2024, 08:28:02 AM
Hello Liviu!
One card in a set of active cards is enough in most cases, but adding the option of up to two cards would be great. Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 13, 2024, 08:31:47 AM
Thank you for the clarification, Thai Chi!

I won't promise I will do it.
Title: Re: I need help!
Post by: Liviu Lalescu on September 14, 2024, 11:19:16 PM
Please tell me, Thai Chi, are you using virtual rooms in any of your files? If this constraint could be made, it cannot be used in a file with virtual rooms.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 15, 2024, 12:48:30 AM
Hello Liviu!
I am very happy to receive your message.
In some cases I use virtual rooms. But I will consider to have the appropriate choice for each of my files.
Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 15, 2024, 08:48:20 AM
Please tell me, Thai Chi, if I would try to do it for a room that is not virtual and is not in the list of associated rooms for a virtual room (not in the sets of real rooms for any virtual room), would it be useful to you?
Title: Re: I need help!
Post by: Thai Chi Phuong on September 15, 2024, 09:34:55 AM
Hello Liviu!
Thanks for your reply, I think it is not only useful for me but it is useful for the majority of fet users, and schools that have rooms for specific subjects.
Title: Re: I need help!
Post by: Liviu Lalescu on September 15, 2024, 10:09:51 AM
Hello, Thai Chi,

Thank you for the suggestion! I will consider. But my question was concerning virtual rooms. Also, it is very complicated for max tags = 2, and I also consider it not useful.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 15, 2024, 10:27:50 AM
Thanks for coming back-Liviu, In many cases I don't use virtual rooms. The card number of one is also a very good choice for dedicated room users like us.
Title: Re: I need help!
Post by: Liviu Lalescu on September 15, 2024, 10:55:14 AM
You are welcome, Thai Chi. I think I will try it.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 15, 2024, 02:05:30 PM
Hello Liviu!
You created Fet, one of the smartest pieces of software I know. I believe you can do it.
Title: Re: I need help!
Post by: Liviu Lalescu on September 15, 2024, 02:15:55 PM
Thank you for the appreciation, Thai Chi! I began - the most important part is done, the algorithm. It should work, but I cannot try it until I complete it.

I don't know in what time I'll be ready. Maybe in your early tomorrow morning (Vietnam) it will be ready. Maybe in, say, 5 hours. I hope you will help me with the very important testing.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 15, 2024, 02:36:02 PM
Thank you-Liviu! I'm always available.
Title: Re: I need help!
Post by: Liviu Lalescu on September 15, 2024, 05:39:14 PM
You are welcome! Thank you, Thai Chi, as well.

The engine part (the critical and most important part, and most difficult) is done (unchecked). I have the interface. I am not sure - a  few more hours to work.
Title: Re: I need help!
Post by: Liviu Lalescu on September 15, 2024, 11:10:44 PM
Hello, Thai Chi,

It is done. Please test intensively: https://lalescu.ro/liviu/fet/download/test/

Thank you for the collaboration!

Attached two examples modified from your file.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 15, 2024, 11:57:43 PM
Hello Liviu!
I will check it this morning and will reply you as soon as possible.
Thank you very much!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 16, 2024, 08:32:27 AM
Hello Liviu!
Awesome Liviu, You did more than I expected. I tested it and it works great. Thank you so much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 16, 2024, 08:36:45 AM
You are welcome, Thai Chi! :)

Please tell me, do you really consider max 2 allowed as useful? I don't quite like to add it, because it is not very efficient, but it can be added.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 16, 2024, 10:00:07 AM
Hello Liviu!
I think max 1 meets most of the requirements; Max 2 is a choice in very few cases. But I think having more choices is still better than Liviu. Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 16, 2024, 10:08:07 AM
Hello, Thai Chi,

I will try with 2, I hope you will be able to test also this.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 16, 2024, 10:09:49 AM
Hello Liviu!
I am always ready to experiment with you, Liviu.!
Title: Re: I need help!
Post by: Liviu Lalescu on September 16, 2024, 11:38:39 AM
I did it, Thai Chi (allowed max 2 for rooms). I hope you will like it. It needs thorough testing, especially on difficult and complex files.

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

Please let me know (but take your time testing).
Title: Re: I need help!
Post by: Thai Chi Phuong on September 16, 2024, 12:17:19 PM
Hello Liviu!
Thank you very much! I will check carefully and will reply you as soon as possible.
Title: Re: I need help!
Post by: Liviu Lalescu on September 16, 2024, 12:35:02 PM
Thank you, Thai Chi,

However, I found a crash bug which I wonder how you did not catch: if an activity went to a constrained room and had no tags related to that constraint, FET crashed. I just put a new snapshot, please update to it.

https://lalescu.ro/liviu/fet/download/test/
Title: Re: I need help!
Post by: Thai Chi Phuong on September 16, 2024, 01:47:15 PM
That's right Liviu. When I select a card set that is not in the room it exits itself, but I think the bug you mentioned it can't work with virtual rooms.
Title: Re: I need help!
Post by: Liviu Lalescu on September 16, 2024, 01:50:49 PM
Sorry, Thai Chi, I am not sure I understand correctly: the bug should be gone in the latest snapshot, could you please check? The new constraint cannot affect virtual rooms.

We need to make sure FET will not crash.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 16, 2024, 02:04:55 PM
Hello Liviu!
I'm talking about the previous version: the error of automatically exiting when selecting a card in a room that does not contain that card set. I'm testing with the version you just sent, and it doesn't happen anymore. Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 16, 2024, 02:10:35 PM
You are welcome, Thai Chi! Thank you, too!
Title: Re: I need help!
Post by: Liviu Lalescu on September 16, 2024, 04:13:26 PM
Hello again, Thai Chi,

I fixed further crash bugs if using activities with duration >= 2. There is a new snapshot in the same location, https://lalescu.ro/liviu/fet/download/test/ . Maybe you can test again a bit.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 16, 2024, 04:51:01 PM
Thank you very much, Liviu. I will test everything again and will inform you as soon as possible.
Title: Re: I need help!
Post by: Liviu Lalescu on September 16, 2024, 05:02:42 PM
You are welcome, Thai Chi! Thank you, you are kind!

Please note that any program abnormal termination is critical and should be fixed. Please report such cases, with the fet file which crashes the program.

I think I am done with code changes, but you never know. The final official version is planned for 19 September 2024, if everything is well.

I am happy with the new constraints, and you had an important contribution!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 17, 2024, 10:06:10 AM
Hello Liviu!
I tested it in many cases, with teachers, with students, with one and with many specific rooms. And Fet worked very well. You are great. Thank you for giving us a great experience with such a great software!
Title: Re: I need help!
Post by: Liviu Lalescu on September 17, 2024, 10:12:59 AM
Thank you very much, Thai Chi! :)

I hope to release the final version in about 2 days.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 18, 2024, 06:01:40 AM
Hello Liviu!
I have a suggestion-Liviu: Can you add a command so that when selecting a room, only the card set in that room appears? That way users won't be confused and importantly, it will be much better. Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on September 18, 2024, 06:54:51 AM
Hello, Thai Chi,

So only the tags which can appear in the room will be shown on the tags on the left? I will try now. I'll add a check box "Filter", by default unchecked.
Title: Re: I need help!
Post by: Liviu Lalescu on September 18, 2024, 09:38:47 AM
Hello, Thai Chi,

I added a check box, Filter, by default unchecked - you need to check it. Please let me know soon.

The new snapshot is in the usual location: https://lalescu.ro/liviu/fet/download/test/
Title: Re: I need help!
Post by: Thai Chi Phuong on September 18, 2024, 09:44:59 AM
Hello Liviu!
You are awesome. I will check it out right away.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 18, 2024, 10:04:57 AM
Hello Liviu!
You are so smart Liviu, If it is not too difficult, Can you add next to the "Filter" selection box a command button: "Select all".
Title: Re: I need help!
Post by: Liviu Lalescu on September 18, 2024, 10:10:05 AM
Thank you! I will think about it and maybe do it, but a bit later. Maybe in a few hours. I'll let you know.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 18, 2024, 11:31:02 AM
Hello Liviu!
I have another suggestion, You can choose: After "filter" click on each card in the card set that appears and then "Select"; The "Select" button is next to the "filter" button.
Title: Re: I need help!
Post by: Liviu Lalescu on September 18, 2024, 11:54:32 AM
Hello, Thai Chi,

Thank you for your suggestion, but it is not exactly FET-style. I would like to keep how it is now (the current snapshot, which you already tried), and we'll think about changes in the future versions. I also have the translators' work complete, and I would need to wait for them in case of further changes.
Title: Re: I need help!
Post by: Thai Chi Phuong on September 18, 2024, 12:08:06 PM
Thanks a lot Liviu!
Title: Re: I need help!
Post by: Liviu Lalescu on September 19, 2024, 03:17:46 PM
Hello, Thai Chi,

The new version is just released. Thank you for the fruitful collaboration!
Title: Re: I need help!
Post by: Thai Chi Phuong on September 19, 2024, 03:52:03 PM
Hello Liviu!
You are awesome! Thanks for listening and giving us a great experience with fet.
Title: Re: I need help!
Post by: Thai Chi Phuong on October 08, 2024, 05:52:47 AM
Hello Liviu!
I have a suggestion: Can you add a constraint so that in a set of n teachers there are 1, 2 or 3 teachers busy in a day/actual day. Thank you very much!
Title: Re: I need help!
Post by: pekuon on October 08, 2024, 07:41:03 AM
Quote from: Thai Chi Phuong on October 08, 2024, 05:52:47 AMHello Liviu!
I have a suggestion: Can you add a constraint so that in a set of n teachers there are 1, 2 or 3 teachers busy in a day/actual day. Thank you very much!
Hello Liviu!
My school has a supervisory team to manage students, with 3 teachers as supervisors. And the requirement is that in any class (morning or afternoon) there is a maximum of 2 out of the 3 teachers above having a lesson.
I can create 2 rooms, and assign the above 3 teachers to 2 rooms, then the conditions can be met. However, due to some other constraints, I am currently assigning 1 room to each class, so the above constraint cannot be used.
Therefore, it is desirable to have a constraint that at most a teacher among n teachers (pre-selected), has class on 1 morning/ or at most a teacher among n teachers (pre-selected), has class on 1 afternoon.
Thanks a lot
Title: Re: I need help!
Post by: Liviu Lalescu on October 08, 2024, 08:40:36 AM
Hello, Thai Chi,

I added this in the TODO. Unfortunately, I don't know if is it possible.
Title: Re: I need help!
Post by: Liviu Lalescu on October 08, 2024, 08:42:24 AM
Hello, pekuon,

I think you can use the constraint activities max simultaneous in selected time slots.
Title: Re: I need help!
Post by: pekuon on October 08, 2024, 10:08:51 AM
Quote from: Liviu Lalescu on October 08, 2024, 08:42:24 AMHello, pekuon,

I think you can use the constraint activities max simultaneous in selected time slots.

I've tried using this constraint, and haven't found a reasonable way yet
For example, teacher A has periods a1,a2,a3...; Teacher B has periods b1,b2,b3....; Teacher C has lessons c1, c2, c3...
And the condition is that in the mornings or afternoons from Monday to Saturday, a maximum of 2 out of 3 teachers A, B, C have class, then how can I be bound?
Title: Re: I need help!
Post by: Liviu Lalescu on October 08, 2024, 10:32:34 AM
I think I misunderstood.

Maybe the new constraint students max 1/2 activity tags per day from set?
Title: Re: I need help!
Post by: pekuon on October 08, 2024, 11:33:02 AM
Quote from: Liviu Lalescu on October 08, 2024, 10:32:34 AMI think I misunderstood.

Maybe the new constraint students max 1/2 activity tags per day from set?

It's difficult to explain this case.
Let me make it a little simpler, there are 3 teachers A, B, C, and I want in any session (morning/afternoon), there is at least 1 teacher who does not teach.
I can do the following
Create 2 rooms P1, P2 and let 3 teachers A, B, C all teach these 2 rooms, then any teacher will have a break in any session. However, I want a direct constraint (Because my current classroom constraint is overlapping)
Title: Re: I need help!
Post by: Liviu Lalescu on October 08, 2024, 11:41:28 AM
Then I think activities max simultaneous in selected time slots: all activities of these 3 teachers, selected slots = all slots of the week (with X or red), max simultaneous = 2.
Title: Re: I need help!
Post by: Thai Chi Phuong on October 09, 2024, 05:21:17 AM
Hello, Thai Chi,

I added this in the TODO. Unfortunately, I don't know if is it possible.
Hello Liviu!
I think this is a cool feature and more importantly fet would be great to have it. Thanks Liviu!
Title: Re: I need help!
Post by: Thai Chi Phuong on October 09, 2024, 05:24:21 AM
Quote from: Liviu Lalescu on October 08, 2024, 08:40:36 AMHello, Thai Chi,

I added this in the TODO. Unfortunately, I don't know if is it possible.

Hello Liviu!
I think this is a cool feature and more importantly fet would be great to have it. Thanks Liviu!
Title: Re: I need help!
Post by: Liviu Lalescu on October 09, 2024, 07:08:43 AM
Hello, Thai Chi,

Unfortunately, this constraint would be difficult and complicated to add. But I will think about it.
Title: Re: I need help!
Post by: Thai Chi Phuong on October 09, 2024, 07:51:48 AM
Thank you Liviu! I believe you can do it and I always look forward to it.
Title: Re: I need help!
Post by: Thai Chi Phuong on October 20, 2024, 02:04:58 PM
Hello Liviu!
In recent fet releases, including test version 6.27.0, when I re-run a "locked" schedule, fet always creates a new folder containing the files in it, and I find this unnecessary (since I locked the schedule, the constraints don't change anymore). Why don't you overwrite the previous folder?
Title: Re: I need help!
Post by: Liviu Lalescu on October 20, 2024, 02:18:22 PM
Hello, Thai Chi,

Starting from FET-6.26.0, suggested here: https://lalescu.ro/liviu/fet/forum/index.php?topic=6195.msg34372#msg34372 , I/we considered it is better to start a new folder (directory) for each new generation, rather than overwriting the old folder (for single generations) or asking to remove the old folder (for multiple generations).

FET cannot decide which is an unlocked and which is a locked file. It needs a similar treatment of all input files.

In the forum post in the first paragraph, we also agreed that it is easy for the user to just remove the old directories when they are too many. Another solution to avoid having too many files would be to choose from the FET settings not to output XML, conflicts, students, teachers, etc. timetables (this if you want to see the timetables from the FET interface only).

It is safer if FET will not overwrite the old files. In the past some users reported that they lost the random seed or the partial timetables and could not retrieve them.

I am opened to discussions about this.
Title: Re: I need help!
Post by: Thai Chi Phuong on October 21, 2024, 12:19:22 AM
Hello Liviu!
It is a big mistake that a software like fet cannot distinguish between a "locked" file and an "unlocked" file. Is there no way for you to, for example, add a command so that before creating a schedule, fet will look for it first and if it is "locked" then "overwrite" and if it is "unlocked" then "create new" Liviu,?!
Title: Re: I need help!
Post by: Benahmed Abdelkrim on October 21, 2024, 03:37:42 AM
Another suggestion that could solve this problem is to give the user a choice. A message before each new generation that allows the user to choose between 2 options: overwrite the old folder, or open another folder.

What do you think?
Title: Re: I need help!
Post by: Thai Chi Phuong on October 21, 2024, 04:31:10 AM
Benahmed Abdelkrim, What a great idea!
Title: Re: I need help!
Post by: Liviu Lalescu on October 21, 2024, 08:05:12 AM
I am sorry to disagree, Thai Chi and Benahmed, but it is always safer to create a new directory. The problem is that the user might generate overwriting by accident. The user can easily remove the directories after some time. But I will think about it, and add an entry in the TODO.
Title: Re: I need help!
Post by: Thai Chi Phuong on November 19, 2024, 04:06:36 PM
Hello Liviu!
I have an idea: Can you add a constraint "2 lectures are not consecutive if it is on the same day"? Thanks Liviu!
Title: Re: I need help!
Post by: Liviu Lalescu on November 19, 2024, 04:49:55 PM
Hello, Thai Chi,

Nice to have you back! :)

I think you can use a constraint min gaps between activities. Or students/teachers min gaps between activity tag/ordered pair of activity tags.
Title: Re: I need help!
Post by: Thai Chi Phuong on November 19, 2024, 10:02:39 PM
Thank you Liviu!
Title: Re: I need help!
Post by: Thai Chi Phuong on February 26, 2025, 11:18:40 AM
Hello liviu!
I have a suggestion: Can you add a constraint for a certain classroom to only study n days/(actual days)/1 actual week?
Title: Re: I need help!
Post by: Liviu Lalescu on February 26, 2025, 01:22:10 PM
Hello, Thai Chi,

Do you mean constraints room max days/real days per week? For days (FET days, half days) it is also suggested and in the TODO (at the beginning), and I also added your words. Unfortunately, I don't know if it is possible or too difficult.
Title: Re: I need help!
Post by: Thai Chi Phuong on February 26, 2025, 07:15:03 PM
Hello Liviu!
Have a nice day!
I mean about the subject classroom, I want in a week this classroom only allows to study n days/real days. Thank you very much Liviu!
Title: Re: I need help!
Post by: Liviu Lalescu on February 26, 2025, 07:18:30 PM
Thank you, Thai Chi! You too! :)

Unfortunately, for rooms it is more difficult (compared to teachers and students) to consider the max days/real days per week. But I will think of this.
Title: Re: I need help!
Post by: Thai Chi Phuong on February 26, 2025, 07:28:57 PM
Thank you Liviu!
I have one more suggestion, Can you help me add a constraint: "I have n teachers, in a real day/day only n-i teachers come to school." Thanks Liviu!
Title: Re: I need help!
Post by: Volker Dirr on February 26, 2025, 07:38:45 PM
Not sure if that constraint is very useful. In guess you will get better results by adding max days per week constraint to teachers. But maybe we can try it.

The critical part of your suggestion is, that you forgot that not always the same number of teachers are needed per day. Ok, if you have a school with "classes" only, then you might have always the same number of needed teachers, but at most schools there are different groups/divisions. So on some days you might only need a minimum of 40 teachers, while on other days you might need a minimum of 60 teachers. You can't solve this problems with your suggested constraint. In fact your suggested constraint can set only to max 60 in that case, while on other days only 40 is enough. So you will miss a lot of possible free days for teachers with such a constraint. That is why i guess using max days per week constraints will generate better results.
Title: Re: I need help!
Post by: Thai Chi Phuong on February 26, 2025, 11:34:14 PM
Thanks for replying Liviu! Maybe my wording is not good, but my problem is: "I have a small group of teachers-teaching the same subject, and I want in 1 day/actual day only 1 (2) teachers not to come to school". I used the maximum number of days constraint but encountered a case where there were days/actual days with many (2,3,4,..) teachers not to come to school.
Title: Re: I need help!
Post by: Thai Chi Phuong on February 26, 2025, 11:37:16 PM
Thanks for replying Volker Dirr!
Title: Re: I need help!
Post by: Liviu Lalescu on February 27, 2025, 11:02:36 AM
Thank you, Thai Chi,

I think you are suggesting the constraint for the minimum number of teachers from a set of teachers to be present on each day/real day. Unfortunately, it looks complicated and also I am not sure it is possible to implement efficiently/feasible. But I will add your suggestion in the list of suggestions.
Title: Re: I need help!
Post by: Liviu Lalescu on February 27, 2025, 11:14:21 AM
You see, Thai Chi, I am not avoiding constraints which are useful or necessary. But I am afraid to implement constraints which are not efficient. These constraints might do more harm than good. The user might obtain impossible/cycling timetables because the constraints he adds are not implemented feasibly.

I might agree to try to make for you a custom version and see how these constraints behave. If they behave correctly, then maybe they will be added to the official version. But I cannot promise I can help you with this.
Title: Re: I need help!
Post by: Thai Chi Phuong on February 27, 2025, 01:33:59 PM
Thank you so much Liviu!
Title: Re: I need help!
Post by: Liviu Lalescu on February 28, 2025, 07:02:27 PM
Hello, Thai Chi,

Could you please tell me the reason for adding the constraints room max days/real days per week?
Title: Re: I need help!
Post by: Thai Chi Phuong on March 01, 2025, 06:12:48 PM
Hello Liviu!
Have a nice day! Thank you for your attention to my problem. I have two teachers A and B, and I want teacher A to teach teacher B's hours as well or vice versa, and they also have holidays together, so I want to create a classroom for these two teachers and have a constraint on the maximum number of days/actual days of the classroom.
Title: Re: I need help!
Post by: Liviu Lalescu on March 01, 2025, 07:43:42 PM
Hello, Thai Chi,

Thank you! You too!

No, it is highly inefficient to rely on rooms constraints!

The good tricks: say you want 2 free days for TA and TB. Add an activity split into 2, n_hours_per_day duration of each component, both teachers.

And/or use the magic constraint activities occupy max time slots from selection: activities of TA and TB, select all slots of the week, max occupied ~= max(duration of activities of TA, d o a o TB).
Title: Re: I need help!
Post by: Thai Chi Phuong on April 08, 2025, 01:33:53 PM
Hello Liviu!
Can you help us add an option: One (All) teachers come to school only in the morning or afternoon and come to school both sessions on a specific day of the week. Thank you very much!
Title: Re: I need help!
Post by: Liviu Lalescu on April 08, 2025, 01:43:19 PM
Hello, Thai Chi,

This teacher (or all teachers) should have the option "One day exception". Do you know this behavior? Then, if the day can be chosen by FET, this is enough. Otherwise, if the day is to be chosen by the user, maybe use one constraint activities occupy min time slots from selection, all the activities of this teacher, select two or more slots of this particular day.
Title: Re: I need help!
Post by: Thai Chi Phuong on April 08, 2025, 01:50:30 PM
Maybe my English is not good, My thinking is maybe from Monday to Thursday the teacher only comes to school for one session and Friday comes to school all day (or something like that). I can combine some constraints to do that. But if possible You can add it as a constraint (with options) that would be great. Thank You very much Liviu!
Title: Re: I need help!
Post by: Liviu Lalescu on April 08, 2025, 01:57:13 PM
Please go to the teachers dialog, modify a teacher. It says: "Exclusive (Morocco)", "Unrestricted (Algeria)", "One day exception", etc. You need to choose for this teacher "One day exception".

Do you choose Friday, or it can be any single real day?
Title: Re: I need help!
Post by: Thai Chi Phuong on April 08, 2025, 02:14:28 PM
Thank you so much Liviu!
Title: Re: I need help!
Post by: Liviu Lalescu on April 08, 2025, 02:17:52 PM
You're welcome, Thai Chi! :)
Title: Re: I need help!
Post by: Thai Chi Phuong on April 08, 2025, 04:51:54 PM
Quote from: Liviu Lalescu on April 08, 2025, 01:57:13 PMPlease go to the teachers dialog, modify a teacher. It says: "Exclusive (Morocco)", "Unrestricted (Algeria)", "One day exception", etc. You need to choose for this teacher "One day exception".

Do you choose Friday, or it can be any single real day?

Sorry Liviu, I didn't find what I was looking for.
Title: Re: I need help!
Post by: Liviu Lalescu on April 08, 2025, 05:48:04 PM
No problem! I attach a screenshot (Mornings-Afternoons mode).
Title: Re: I need help!
Post by: Thai Chi Phuong on April 10, 2025, 01:55:08 PM
Hello Liviu!
Sorry Liviu for my late response, I have successfully followed your instructions. But if in the teacher's binding card there is an additional option to have any day (Monday and Friday) to go to school both morning and afternoon; the remaining days (Tuesday, Wednesday, Thursday) to go to school only one session or not to go to school, I think it will be much better. Thank you Liviu!
Title: Re: I need help!
Post by: Liviu Lalescu on April 10, 2025, 02:57:23 PM
Hello, Thai Chi,

Couldn't you use the option "Two days exception" for that teacher?
Title: Re: I need help!
Post by: Thai Chi Phuong on April 10, 2025, 03:34:47 PM
Thank you Liviu! I did it according to your instructions. But I wish it was easier.
Title: Re: I need help!
Post by: Liviu Lalescu on April 10, 2025, 03:39:24 PM
You're welcome, Thai Chi! But why do you say it is difficult? Just modify the teacher and select that option.

We had some talks with the Moroccan and Algerian users (I think) and (I think) they suggested that this feature is better in a teacher's dialog, not as a separated time constraint.