Reponse

Started by Said 213, August 14, 2019, 04:49:28 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Said 213

Bon soir m bachiri j'ai beaucoup d'astuce mais sans résultats vous pouvez essayer le fichier que j'ai envoyé. Ce problème existe parc que dans certaines wilayas onune matière en plus (tamazight) .le problème ce pose lorsque on travaille 4 h le matin et4h le soir

Said 213

 Exacte .merci liviu c'est ce que je Chechen

fethi_dz

dans ce cas les contraintes que j'ai proposé va réglée le problème
1- max des heures le soire pour enseignant
et
2- min des heures le soire pour enseignant
veut dire la condition va s'appliquer juste pour les jours paires (day2, day4, day6,.....)


Liviu Lalescu

Non, fethi, because the teacher is allowed to have 4 working hours in the afternoon but not 2 free and then 2 working hours in the afternoon.

fethi_dz

#19
ah oui c'est vrai Je n'ai pas pensé à ça
vous avez raison monsieur liviu

Benahmed Abdelkrim

#20

أعتقد أنه يوجد سوء فهم في الموضوع المفتوح، كما أعتقد أن المشكلة الأساسية التي يدور النقاش حولها هي: الفجوات بين الفترة الصباحية والفترة المسائية التي قد تصل أحيانا إلى 4 ساعات دون احتساب فترة التوقف في وسط اليوم.
هذه الفجوات يمكن من الآن التقليل من حدتها بواسطة القيد الجديد: أقصى فجوات في يوم حقيقي لمدرس(ين) هذا القيد الذكي يأخذ في الاعتبار الأيام الحقيقية أي فترة الصباح + فترة بعد الظهر لكل يوم حقيقي. ةهذا ابتداء من النسخة الجزائرية وأيضا المغربية التي تحمل 40 كرقم لها
نستطيع ضبط هذا القيد على القيمة 3 ثم نخفضها إلى 2 في حالة العثور على جدول زمني أو 1 ربما.

أما مقترح اضافة قيد مدرس(مدرسين) يبدأ(يبدأون) باكرا، أعنقد أنه لا داعي لذلك في وجود القيد المذكور في الفقرة أعلاه، بما أن هذا القيد يحقق الغرض الطلوب منه. كما أعتقد أن إضافة قيد: يبدأون باكرا للمدرسين قد يؤدي ببعض الجداول إلى استحالة الحل خاصة إذا ضبط المستخدم هذا القيد على القيمة 0. إذن لنفكر مليا ولا نتسرع

في حالة ما إذا كان الاسبوع يتكون من 5 أيام و اليوم هو 4 ساعات صباحا + 4 ساعات مساء، أعتقد أنه يمكن التفكير بجدية في البدء في استخدام النسخة المغربية لبرنامج "فيت"، وهكذا سنتخلص من هذه الفجوات نهائيا لأن أغلب المدرسين سيكون لهم أن يعملوا إما فترة الصباح وإما فترة بعد الظهر وليس كلاهما خاصة للمدرسين الذين لا يتجاوز ساعات عملهم في الأسبوع 20 ساعة
أما المدرسين الذين يتجاوز ساعات عملهم 20 ساعة، فنستخدم القيد: ياستثناء يوم واحد، أو القيد: باستثناء يومين.
نختار أحدهما حسب عدد ساعات عمل المدرس.
ولتقليل من الفجوات لهؤلاء المدرسين الذين يضطرون إلى العمل ليوم كامل أو يومين نستخدم القيد الذكي المذكور في الفقرة الأولى في مستهل هذه الإجابة؛ وللتذكير: أقصى فجوات في يوم حقيقي لمدرس
أرجو أن أكون قد ساهمت في الإجابة على هذه المشكلة :)
B.A/krim

Liviu Lalescu

#21
Thank you, Benahmed, for the detailed answer.

1) Said 213: I saw you added teachers max 1 gaps per week. If you want in each morning or afternoon no gaps for teachers, this should be 0, not 1.

2) Benahmed: I understood that Said allows hours for teachers 2 first hours in the morning and 2 first hours in the afternoon, but not 2 last hours in the morning and 2 last hours in the afternoon (even if the gaps per real day is 2 in both cases). Said 213: Is this what you really intend?

3) I thought today about adding teacher(s) begin afternoons early max N beginnings at the second hour. It is difficult, but I think it is possible. If Mr. Said 213 confirms this is what he needs, I am willing to try. But please Mr. Said, be sure this is what you want, because it involves a lot of work and thinking. This constraint, for instance, with N=0, makes each teacher if he has activities in an afternoon, he will begin in that afternoon at the first hour. With N=2, he can have 2 afternoons in which he can begin at the second hour.

4) Said 213: Maybe you can give us a picture (even hand-drawn and scanned on the computer) to show the problem, it would be best, so I am sure I understand correctly.

Said 213

Merci pour m ben ahmed pour ces éclaircissement.  M liviu l'année passée lorsque j'ai remet les emplois du temps aux enseignants. Ils ont refusé de commencer à 3ème heure.c
Sachant qu'on travaille 4 heures l'après midi. J'ai refait l'emploi du temps manuellement pour éviter cette ce début de la 3 ème heure. M liviu vous prennez votre temps pour reflichir à ce problème. Je pense la question est claire.

Liviu Lalescu

OK, je vais essayer le jours prochaines. On est difficile, mais j'espere success.

Liviu Lalescu

#24
I hope I got the generation code well done, and this was the most difficult part. Now I need to add the new constraint in the other engine files and in the interface. I hope it will work, and I hope I will have the finished program soon.

Maybe you could prepare some test files, with everything in place without the new constraint, which I will add it on my computer when ready.

I will make it, at least for now, as a custom version Algeria41-Said213. I am afraid to add it to the Algeria until heavy use by other users and I am not sure other users will use the new constraint.

bachiri401

well done sir
the new constranit will teacher(s) start early in the afternnons ?

Liviu Lalescu

Teacher(s) begin afternoons early max (n=specified) beginnings at second hour.

If n=0, all teachers begin afternoons at first hour. If n=2, in 2 days teachers can begin the afternoons at the second hour, and in the rest at the first hour.

Max n is n_afternoons_per_week.

bachiri401

great
i wiil be very happy to test it

Said 213

Merci m liviu . je pense que c'est tout le monde qui va l'utiliser bien evidemment les etablissements qui travaillent 4 heures l'après midi

fethi_dz

je pense c'est bonne idée mai je ne peut pas l'adaptée a ma version