Add at least half a day on csv in morning-afternoon mode

Started by ngoctp29121982, November 25, 2022, 04:27:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ngoctp29121982


Hello Liviu and Volker!
You can add Min Days = 0.5 in the csv file and when entering Fet software in morning-afternoon mode, Fet will understand the minimum number of sessions between a group of lectures = 1
Example for Vietnamese: min 1 half days 100% between 2+2+2+2+2+2 (6*2) and min 1 days 100% between 2+2+2+2+2 (5*2 ).
Thank you so much. We will support you.

Liviu Lalescu

Hello, ngo,

I am sorry, but min days = 0.5 is an interesting idea but the casual users won't understand. It is complicated. I propose you that we could try it as a custom version for you (if Volker cannot, I might give it a try, even if I am not familiar with his code). If the custom version works OK, we might consider adding it to the official (even if I don't like the idea).

The fact is that it is a very specialized use case.

ngoctp29121982

When adding min day in csv file = 0.5: Subject 2+2+2+2+2+2(6*2) FET spawns 2 on Monday morning, 2 on Monday afternoon...... ...but don't spawn 4 or 3 or 1 on the same morning or afternoon, break the 2+2+2+2+2+2 decay sock

ngoctp29121982

2+2 it will be random on 1 real day (am-pm) or on 2 real days. For example: 2+2 on Monday morning and Monday afternoon or on Monday morning and Tuesday morning or on Monday morning and Tuesday afternoon but not on the same Monday morning or Tuesday morning.... ...

Liviu Lalescu

I think I have a better idea: add a function similar to "Spread the activities over the week": automatically the program will remove the old similar constraints and add for each activity divided into 6 two constraints, one min 1 half days for all 6 and one min 1 days for 5 of them.

FET is free software and I only work free software. But I cannot work for free on everything about FET. If there are say 100 institutions interested to sponsor this, I will consider adding this feature into the official FET.

ngoctp29121982

Can you do that idea on the FET file I sent? Teachers Ha, N Yen and Na teach T Vietnamese.
Thank you very much! Thank you very much, I will support you

Liviu Lalescu

No, I cannot do that idea on your file, because the idea is not implemented.

ngoctp29121982

Bạn tạo một phiên bản tuỳ chỉnh cho tôi được không? Min days = 0,5 trên file csv để khi vào phần mềm FET 2+2+2+2+2+2 (6*5) hiểu là số buổi tối thiểu giữa một nhóm các tiết giảng ở chế độ Sáng-Chiều.
on the min days column add min half days between activities instead of min days between activities .Just this

Liviu Lalescu

OK, as a custom version this is possible. So:

1) In the CSV file, if min days = 0.5, add min half days.

2) In the interface, in the add activity dialog, should we:
  a) Have only the min half days, or
  b) Choose between min half days or min days

?

ngoctp29121982

1) In csv file, if min days = 0.5, add min half day
2) choose between min half day or min day
Once you've added min days = 0.5 on the csv file, the FET interprets itself as adding the min half day. no need to add operations in the FET anymore. That's how it's fast

Liviu Lalescu


Liviu Lalescu


ngoctp29121982

I tried the custom version, it's fine. But I have 1 idea, you can add 2 ways for csv file. Option 1 Mindays=1 and Option 2: MinHalfDays=1 so that when the user chooses option 2, then 2+2+2+2+2(6*5) or 3+3+3+3+3+3+2 (7x5) FET understands and works. Thus, there is a new version we can still use.

Liviu Lalescu

I don't understand. Min days is 1 (min days) or 0.5 (min half days).

ngoctp29121982

Sorry. Option 1 Mindays=1 and Option 2: MinDays=0.5 so that when the user chooses option 2, then 2+2+2+2+2(6*5) or 3+3+3+3+3+3 +2 (7x5) FET understands and works. As such, there is an official version that everyone can use.