FET Forum

FET Development => Custom FET for Particular Needs => Topic started by: bachiri401 on September 03, 2019, 10:42:51 PM

Title: max gaps per afternoon
Post by: bachiri401 on September 03, 2019, 10:42:51 PM
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
Title: Re: max gaps per afternoon
Post by: Liviu Lalescu on September 04, 2019, 07:23:49 AM
OK, I acknowledged your suggestion.
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 04, 2019, 11:23:20 AM
thanks
you are always helpful
Title: Re: max gaps per afternoon
Post by: Liviu Lalescu on September 12, 2019, 10:00:51 PM
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.
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 12, 2019, 10:10:08 PM
Thanks mr Liviu i am longing to see it come true
Title: Re: max gaps per afternoon
Post by: Liviu Lalescu on September 13, 2019, 01:29:25 PM
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.
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 14, 2019, 05:02:17 PM
it works successfully
thanks mr Liviu i know i tired you so much
Title: Re: max gaps per afternoon
Post by: Liviu Lalescu on September 14, 2019, 05:44:38 PM
You're welcome!  :)
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 18, 2019, 10:31:40 AM
This version works successfully however it renders difficult timetables impossible
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 18, 2019, 10:34:08 AM
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
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 18, 2019, 10:35:29 AM
I know for sure you can do it you never let us down
Title: Re: max gaps per afternoon
Post by: Liviu Lalescu on September 19, 2019, 09:06:34 PM
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?
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 19, 2019, 10:46:11 PM
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
Title: Re: max gaps per afternoon
Post by: Liviu Lalescu on September 24, 2019, 08:16:46 PM
Done, please get it from https://lalescu.ro/liviu/fet/download/custom/algeria42-bachiri401/
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 25, 2019, 03:36:49 PM
thanks sir
i will test and tell you the results
Title: Re: max gaps per afternoon
Post by: bachiri401 on September 25, 2019, 03:51:21 PM
WHAT IS THE STRING USED IS IT 0GA AT THE END OF THE TEACHERS NAME
Title: Re: max gaps per afternoon
Post by: Liviu Lalescu on September 25, 2019, 03:57:08 PM
Yes. "0GA" exactly like that. 0 is the zero digit. Rename a teacher, press "End" on its' name, and write 0GA.