FET Forum

FET Support (English) => Get Help on Your Input File => Topic started by: paolo_d on June 14, 2024, 06:52:25 PM

Title: Cannot find the issue preventing the generation
Post by: paolo_d on June 14, 2024, 06:52:25 PM
Please, can you help me with this?
I have updated the old timetable with new classes and new teachers  using the same parameters, but it no longer works.
Maybe it's something really easy, but I'm absolute newbie on FET.

Any hints?
Thank you
Paolo
Title: Re: Cannot find the issue preventing the generation
Post by: Vangelis Karafillidis on June 14, 2024, 07:17:52 PM
The problem seems to be the constraint "max hours daily" for teachers. If you set max hours = 6 (instead of 5), the timetable solves really fast. If you use two constraints, i.e. one constraint with max hours = 5 and weight 99.99% and another constraint with max hours = 6 and weight 100%, the timetable is solvable again. It just needs a little more time.

Vangelis.

Title: Re: Cannot find the issue preventing the generation
Post by: paolo_d on June 14, 2024, 07:25:58 PM
Dear Vangelis

thank you so much for the quick reply.
The problem is that legally we cannot stay in the classroom for more than 5 hours/day.
We will try to figure it out.

It's very likely that I will bother you again.

Have a good weekend
Paolo
Title: Re: Cannot find the issue preventing the generation
Post by: Vangelis Karafillidis on June 14, 2024, 07:57:41 PM
The problem seems to be the teacher Romeo. His activities have duration = 2. Is it possible to change it? Otherwise, I think he should have max hours 6 at least for one day... (edited) since he has 22 hours per week.

Vangelis.
Title: Re: Cannot find the issue preventing the generation
Post by: Liviu Lalescu on June 17, 2024, 07:02:19 PM
Vangelis, I don't understand your argument. There are 5 days, and max 5 hours per day means that the teacher can have even 25 per week.

Silly me, Vangelis told me that this teacher cannot have 5 hours per day, because he has only duration 2 activities :)

I'll add Vangelis' suggestion to make a test for this in the TODO.