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.

Liviu Lalescu

#285
By popular request, I upgraded to Algeria42, but I only released a snapshot (test version) for now. I need you to test and after that I will release the Algeria42 version. Also the Arabic translation is not completed, yet. I hope with the help of Benahmed Abdelkrim we will have it.

The new features:

1) Teacher(s) min hours per morning, suggested by fethi_dz.

2) Teacher(s) begin afternoons early, respecting a maximum of n beginnings at second hour, suggested by Sadi 213.

Please test intensively and report the results.

The link, as usual: https://lalescu.ro/liviu/fet/download/custom/algeria/  (get the snapshot for Algeria42 version).

bachiri401

Thanks Mr LIVIU but I think the new constraint (min hours per morning ) added as a new constraint like this is not good
this constraint should be just a part of the old constraint (min hours daily)

Then other parts are needed (min hours per afternoon/max hours per morning and per afternoon)

Volker Dirr


Liviu Lalescu

Quote from: bachiri401 on August 21, 2019, 02:45:06 PM
Thanks Mr LIVIU but I think the new constraint (min hours per morning ) added as a new constraint like this is not good
this constraint should be just a part of the old constraint (min hours daily)

Thank you, Mr. Bachiri, but:

I thought and this is the best way to add it. Not to confuse other users (I think only a few users will use min hours per morning). There are also other constraints (teacher(s) min mornings/afternoons per week) which need other constraints to be present.

Quote
Then other parts are needed (min hours per afternoon/max hours per morning and per afternoon)

For now, it was difficult enough for me. And I assume the other constraints are not used. And they can be added at a later time.

Liviu Lalescu

I added a new snapshot, minor things changed. Same link: https://lalescu.ro/liviu/fet/download/custom/algeria/ (get the snapshot Algeria42-21-aug-2019).

bachiri401

sometimes we find a problem in case of 2gaps per real day
we need these two gaps to be sepatated not consecutive
please mr LIVIU could make them not cosecutive

bachiri401

because i made max gaps per real day at 2 , THE RESULT WAS ; some teachers got two sepatred gaps while others got them together which is not good

Liviu Lalescu

Could you maybe use constraint teacher(s) max hours continuously or the new constraint teacher(s) begin afternoons early max beginnings at second hour?

bachiri401

this won't solve the problem because a teacher can start afternoon early but still he stopped at the third hour of the morning

Liviu Lalescu

Maybe with teacher(s) max 3 hours consecutive or teacher(s) min 3 hours per morning.

bachiri401

Can't you sir port this constraint max consective hours for a teacher to be max consective gaps for a teacher

Liviu Lalescu

Other users suggested this (max consecutive gaps for teachers) for FET official, and at that time I told them it was too difficult.

But thinking now, it might be possible teacher(s) max 1 consecutive gaps per real day. Is this what you need? I could prepare some test version for you only, and if it is useful I'll add to the Algeria and Morocco FET.

For the beginning, I will hard-code this in the generating code, for all the teachers. Is that OK for now?

Then, I will need you to test and send me a test file as well. Maybe making it tonight.

bachiri401

Yes that's what i need but 0  cosecutive gap per real day i,e each gap must be alone no cosective gaps

Liviu Lalescu

Quote from: bachiri401 on August 21, 2019, 08:11:58 PM
Yes that's what i need but 0  cosecutive gap per real day i,e each gap must be alone no cosective gaps

It is 1 consecutive gaps, since it is alone. If you say 0, it is no gap. If you say 2, it is two gaps joined together.

I think I will begin work now. Please prepare a file and send it.

If I cannot succeed or am too tired, I will write and we'll try again tomorrow.

bachiri401