Max Hours for a room(s)

Started by Benahmed Abdelkrim, May 09, 2020, 11:25:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

You are welcome!  :)

I thought you would be a bit disappointed that a solution is only possible with 4 exceptions.

Benahmed Abdelkrim

Quote from: Liviu Lalescu on May 17, 2020, 07:59:42 PM
You are welcome!  :)

I thought you would be a bit disappointed that a solution is only possible with 4 exceptions.

absolutely not disappointed. for 4 it's nothing.
very widely acceptable solution. thanks again  :) :) :)
B.A/krim

Liviu Lalescu

You are welcome, dear Benahmed!  :)

Benahmed Abdelkrim

#78
I believe there is an error somewhere.
the nsrt version fails to resolve the file attached below (does not exceed 16 placed activities)!
I also attach the same file resolved by the official version with the gaps..
B.A/krim

Benahmed Abdelkrim

may be a limit to satisfy the repetition condition implemented in the nsrt version. and we must break this condition or give it a weight less than 100% specially for such file attached above
B.A/krim

Benahmed Abdelkrim

#80
In this file we have two sets of teachers; The first set has 12 activities, and the second set has 13 activities.
While the number of real rooms is only 10 .
So we clearly see that the number of Rooms is smaller than the number of activities for each element of the two sets.
Thus the solution with this version is impossible.
Repetition must be allowed.
I suggest adding a checkbox to allow or disallow repetition... or add weight to this constraint.
B.A/krim

Liviu Lalescu

I am sorry, but adding weight/exceptions is not possible.

Benahmed Abdelkrim

No problem Dear Liviu 🙂
... So the method for gaps as described above remains valid in such files ... like workaround.
B.A/krim

Liviu Lalescu

I am trying on adding exceptions - it is hard...

Benahmed Abdelkrim

Thank you!
I wish you success 🙂
B.A/krim

Liviu Lalescu

It seems to work: https://lalescu.ro/liviu/fet/download/custom/nsrt/

I hope you can allow a room 3 times if you allow 2 exceptions (as opposed to two rooms two times each). But if not, I could find a solution also for this.

I am so tired  :)

Benahmed Abdelkrim

thank you!
I am so sorry again  :)
But how can i have exceptions changed?
B.A/krim

Liviu Lalescu

Please read the readme.txt near the end and see your example (which I modified), see the comments of the rooms.

Benahmed Abdelkrim

Thanks I have seen it.
thank you so much  :)
B.A/krim

Benahmed Abdelkrim

#89
MTR = max teachers repetitions
good solution!
B.A/krim