Is the constraint on the minimum number of sessions between a group of lectures

Started by ngoctp29121982, November 15, 2022, 09:35:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ngoctp29121982

Hello Liviu!
How are you these days?
I found the FET to be too strong in terms of constraints for a scheduling software. I have a small question with the elementary school in Morning-Afternoon mode. A school has 10 lessons: 5 mornings and 5 afternoons. Why do I put 12=2+2+2+2+2+2 Min Days = 0 but 1 morning still has 3 hours or 4 hours of Vietnamese. When I let Min Days = 1 the FET doesn't run. Why do I still have to create a constraint on the minimum number of sessions between a group of lectures when I choose Min Days = 0 for the FET to run. Doing so takes a lot of time with Vietnamese and other subjects like Vietnamese.

Liviu Lalescu

Hello, ngo,

I'm fine, thank you!

Min days = 0 is useless, there is no constraint added. I think you need to add min half days = 1 with 100% weight, and maybe add also a min 1 days (real) = 1 with 100% weight for only 5 components: 2+2+2+2+2.

ngoctp29121982

OK, thank you Liviu!
Can you add minimum half day column in csv file and allow user to import from csv into software half day minimum =1 with 100% weight?

Liviu Lalescu

I added your suggestion in the list of suggestions, but I do not like it, it would complicate things and it is only for the Mornings-Afternoons mode.

If you want to convert from min days to min half days in all the places, search and replace with a text editor in the .fet XML file: "ConstraintMinDaysBetweenActivities" to "ConstraintMinHalfDaysBetweenActivities" (everywhere).

ngoctp29121982

Vietnamese class 12=2+2+2+2+2+2 when I don't use the minimum number of sessions constraint between a group of lessons Min half day =1 and out of =100%, Vietnamese class produces 12 =2+4+2+2+2 or 12=4+4+2+2. Why does the FET misunderstand the problem, it's obvious that 12=2+2+2+2+2+2 is 6 sessions but in the morning-afternoon mode I have 12 sessions?