Can not generate the timetable

Started by Prabhash Paudel, March 26, 2024, 04:30:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Prabhash Paudel

Please help me. What wrong with this file? Waited for two hours but cannot generate timetable. What is the maximum time required to generate timetable? I would be grateful if you point out the errors in detail so that I can set activities and time constraints perfectly.

Liviu Lalescu

Your file should solve much faster. A stop like that after a few seconds indicates bugs in the data.

You have two constraints of type same starting hour which are probably wrong. I attach a file and a solution in which I deactivated them. It solves fast. You could try to increase the other same starting hours weights, it might work. You can do that by search and replace in the fet file, search for say "tage>80<" and replace with "tage>90<".

Liviu Lalescu

#2
@Prabhash Paudel ,

Please don't remove your posts anymore! It took me time to answer them.

Prabhash Paudel

#3
Thank you very much for the solution. What errors were there in the file uploaded by me? I would be grateful if you describe the errors in detail so that I can set all activities and time constrains myself in the future.

Liviu Lalescu

You are welcome! Please see the two inactive time constraints in your file. You might need to add them again, as four active constraints, for each corresponding set of activities.

Prabhash Paudel

#5
May I request to indicate the constraint?

Liviu Lalescu

Please see my file, All time constraints, Sort the constraints or Filter, see the constraints beginning with "X - ", which also have a different background color, and which contain the "Active time constraint=no" string in the detailed description.

Prabhash Paudel

I have made some changes in the constraints in the file given by you. There I made changes in maximum hours for a teacher and maximum continuous hours for a teacher.But still FET can not generate the routine but if I use your original file it creates quickly. What error is there?

Liviu Lalescu

The error is that you used the locked file.

I attach two files. My original one, with the 2 constraints repaired and activated. It solves fast and easily. And your unlocked file, again with the 2 constraints repaired, but it seems too difficult.

Prabhash Paudel

May I request to study this file. FET is taking long to create.

Liviu Lalescu

It solves very fast on my computer.