max gaps per afternoon

Started by bachiri401, September 03, 2019, 10:42:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bachiri401

HELLO MR LIVIU  I WISH YOU ARE OK
we would like you to add a new constraint if possible
max gaps per afternoon for a teacher
because gaps in the afternoon are annoying and unacceptable not like the morning
thank you sir

Liviu Lalescu

OK, I acknowledged your suggestion.

bachiri401


Liviu Lalescu

#3
bachiri401 says to implement this constraint in his custom version: Teachers max 0 gaps per afternoon. This can be hard-coded in the generation code (much easier for me).

His custom version: Teachers max 1 continuous gaps per real day hard-coded in the generation code.

bachiri401

Thanks mr Liviu i am longing to see it come true

Liviu Lalescu

I hope I did it correctly.

Get it from https://lalescu.ro/liviu/fet/download/custom/algeria42-bachiri401/

Please test intensively with combinations of constraints teacher(s):

- afternoons early max beginnings at second hour
- max gaps per day
- max hours daily
- max hours daily half days
- min hours daily
- min hours daily real days
- min days per week.

bachiri401

it works successfully
thanks mr Liviu i know i tired you so much

Liviu Lalescu


bachiri401

This version works successfully however it renders difficult timetables impossible

bachiri401

Because it is not possible to make 0 gap per afternoon for all teachers please mr Liviu can add this feature as a new constraint for techer\ teachers

bachiri401

I know for sure you can do it you never let us down

Liviu Lalescu

Dear bachiri401,

It will take a while, I am also busy on other FET works and very tired.

Could we make so that if for instance the name of the teacher ends with "0GA" or other particular string the teacher will need to have 0 gaps in the afternoon, otherwise no constraint for him?

bachiri401

YES WHY NOT
I WILL HERE NEED JUST TO ADD TO THE NAMES OF THE TEACHERS CONCERNED 0GA AT THE END
PLEASE GO AHEAD
THANKS
I NEEDED IT ADDED TO MY VERSION IN WHICH THERE NO CONSECUTIVE GAPS PER REAL DAY

Liviu Lalescu


bachiri401

thanks sir
i will test and tell you the results