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.

Benahmed Abdelkrim

Hmm... I apologize for this quick return.
the last version works perfectly, but I think we forgot to take into consideration the case where non repetition is possible. as you can check with the files resolved by the nsrt3 version without any repetition.
I tried to enter MTR = 0 in the comments but to no avail...thanks for your help.
B.A/krim

Benahmed Abdelkrim

#91
I suggest in this way to leave MTR = 0 by default in the source code, unless if the user declares exceptions...
B.A/krim

Liviu Lalescu

Sorry, I forgot about this. I will correct.

But I suggest not MTR=0 in the code, but the user to add it. It is FET style.

Benahmed Abdelkrim

#93
I think this is the operating principle of nsrt; not to allow repetitions, so set "MRT = 0" by default to make sense to me. therefore, "MRT = number" is only the exception for certain types of files.
B.A/krim

Benahmed Abdelkrim

#94
Quote from: Liviu Lalescu on May 20, 2020, 08:28:37 AM
Sorry, I forgot about this. I will correct.

But I suggest not MTR=0 in the code, but the user to add it. It is FET style.
I thought about you're suggestion.. it's good than mine
B.A/krim

Liviu Lalescu


Benahmed Abdelkrim

it's fine, thank you so much for your help  :)
B.A/krim

Liviu Lalescu


Benahmed Abdelkrim

#98
good evening dear Liviu
can you take a look at this file. the constraints added to the comments of the rooms do not work!
I discovered this fact when trying to answer a question here:
https://lalescu.ro/liviu/fet/forum/index.php?topic=4456.msg24566#msg24566

she ask if FET-nsrt can make time tables with only one teacher in each room.
I prepared a file but the constraints like MHPW are not respected!
I attach the file below...
B.A/krim

Liviu Lalescu

Hello, dear Benahmed,

New version, corrected: https://lalescu.ro/liviu/fet/download/custom/nsrt/

I hope I corrected. I wasn't thinking of FET real (as opposed to virtual) rooms.

Benahmed Abdelkrim

#100
Quote from: Liviu Lalescu on May 21, 2020, 08:01:38 PM
Hello, dear Benahmed,

New version, corrected: https://lalescu.ro/liviu/fet/download/custom/nsrt/

I hope I corrected. I wasn't thinking of FET real (as opposed to virtual) rooms.

Hello, dear Liviu;

yes it is corrected. I tried all the constraints: MHPW, MHPD, MTR, MSPD, in this attached file above ..
and I can say that they are all operational.

I attach the file again with the added constraint; MHPD
thanks again!
B.A/krim

Liviu Lalescu


Benahmed Abdelkrim

Hello!
Is it possible to update the nsrt version to the latest version?
and make the most important constraint (MTR= max teachers repetitions) appear in the FET interface?
B.A/krim

Liviu Lalescu

Hello, dear Benahmed,

I will try in the future. Please remind me how this version worked and show me how do you suggest MTR in FET interface. Were these "MHPW, MHPD, MTR, MSPD" comments for each room? Should I make MTR a global variable and disable in rooms comments?

Liviu Lalescu

Should I add MHPW, MHPD, MTR, and MSPD as integer variables for each room, and adding/modifying a room has these 4 variables? And write "Max hours per week", "Max hours per day", "Max teachers repetition", and "Max span per day"?