Custom FET for Algerian schools

Started by Liviu Lalescu, September 17, 2008, 11:54:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bachiri401

Good moring sir
i have just said that the algerian version is complete
but there is something which sometimes timtable planners face which is ( the gaps between morning and afternoon , a teacher sometimes works two hours in the first two hours of the morning  and two hours in the last two hours of the afternoon  which makes this teacher wait four hours) if you could sir add a constraint (max gaps between afterrnoon and morning for a teacher / and for a student)
thanks greatfully

Liviu Lalescu

Quote from: bachiri401 on October 26, 2018, 09:31:31 AM
Good moring sir
i have just said that the algerian version is complete
but there is something which sometimes timtable planners face which is ( the gaps between morning and afternoon , a teacher sometimes works two hours in the first two hours of the morning  and two hours in the last two hours of the afternoon  which makes this teacher wait four hours) if you could sir add a constraint (max gaps between afterrnoon and morning for a teacher / and for a student)
thanks greatfully

I tried to think of this problem. Unfortunately, I am very sorry but it looks very difficult or even impossible. I will keep it in the TODO and maybe think of it some more.

bachiri401

I have a suggestion if you can keep the condtraint max gaps in the algerian version as it is
And you port the constrain max gaps from the official fet
So we will have two constraints one considering half days and the other one considering real days

Liviu Lalescu

Quote from: bachiri401 on October 26, 2018, 03:59:20 PM
I have a suggestion if you can keep the condtraint max gaps in the algerian version as it is
And you port the constrain max gaps from the official fet
So we will have two constraints one considering half days and the other one considering real days

I must admit you beat me at this :)  It might be a great suggestion, I am still thinking if it correct. It might be possible, and not too difficult. I will think and let you know.

bachiri401


Liviu Lalescu

Yes, it is a very good suggestion, seems correct. Congratulations! It is always good to listen to everybody's suggestions.

It is quite complicated to add, not easy as the previous suggestions. But I hope I will be able to do it. I am not sure when it will be ready, it might take longer.

bachiri401


Liviu Lalescu

Quote from: bachiri401 on October 28, 2018, 04:58:04 PM
I hope it is going well

I am sorry, but I did not begin working on it, yet. Is it urgent? It is a bit complicated and it might take more time to make.

bachiri401

NO it is not urgent. I am just eager to see it come true. Take all your time sir take the whole year but please make it true.
Thanks

Liviu Lalescu

Quote from: bachiri401 on October 28, 2018, 05:08:37 PM
NO it is not urgent. I am just eager to see it come true. Take all your time sir take the whole year but please make it true.
Thanks

OK, I understood. Feel free to ask me how the work is going, at any time.

I won't forget.

bachiri401


Liviu Lalescu

:)

Please tell me, the constraint students early max beginnings at second hour is used anywhere in Algeria or Morocco? It is easier for me if I will add the new constraint teacher(s)/students (set) max gaps per real day and assume that the students early constraint will not be present in the data.

bachiri401

IN algeria students must always begin at the first hour of the morning and the first hour of the evening

Liviu Lalescu

So you use the constraint students early max 0 beginnings at second hour?

OK, I think I can manage also in this way.

Liviu Lalescu

I began work since yesterday. I did the generate.cpp part of students max gaps per real day, which is probably the most difficult thing. It was very tricky and error-prone at each step. I hope it is working OK, but we need to check it very carefully. Also generate.cpp for teachers will be adapted similar to students, but has some other tricky parts.

I added the latest snapshot on https://lalescu.ro/liviu/Backup-bachiri401/ , but only sources version and hard-coding students max 3 gaps per real day.