Max consecutive hours in max hours a day

Started by aldo.f, October 18, 2019, 11:36:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aldo.f

I entered the constraints: max 4 consecutive hours a day and max 5 hours a day (or max span 6 hours).
But I would like to have a maximum of 3 consecutive hours when the teacher has 5 hours a day.

Liviu Lalescu

I think this can be done. But it is weird to add and name such a constraint in the official FET.

So please let me know if you would be interested in a customization done just for you.

aldo.f


Liviu Lalescu

Could you please send me your input file, for testing?

aldo.f


Liviu Lalescu

I have done it, I hope it is correct. I checked manually - I did not add a double check in the timeconstraints.cpp.

The link: https://lalescu.ro/liviu/fet/download/custom/aldo-f/

In this archive you have the directory example-aldo-f, with your input file and with 4 solutions. It seems that you need to generate multiple with a 5-10 minutes time limit (so FET restarts if it stalls, usually at 1602/1609).

Please let me know.

Liviu Lalescu

I generated overnight. It seems that restart is not needed, but the time might be very high (>8 hours for one timetable). I have put the solutions on https://lalescu.ro/liviu/fet/download/custom/aldo-f/ (some directories are empty - the time was exceeded - you can look at the report.txt).


Liviu Lalescu

You are welcome! Please let me know when I can delete the solutions archive.

aldo.f

You can delete the solutions archive. I downloaded it.